From 4ec7f0b73f8aa43eccf387bdec55fc464d809896 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Mon, 13 Nov 2023 10:12:42 +0100 Subject: Simplified the representation of expressions in strings --- lib/syntax/tree.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/syntax/tree.mli') diff --git a/lib/syntax/tree.mli b/lib/syntax/tree.mli index 0032f03..c5506e7 100644 --- a/lib/syntax/tree.mli +++ b/lib/syntax/tree.mli @@ -7,7 +7,7 @@ (** This module is the result of the evaluation. *) module Ast : sig - type 'a literal = 'a T.literal = Text of string | Expression of 'a list + type 'a literal = 'a T.literal = Text of string | Expression of 'a [@@deriving eq, show] type 'a variable = { pos : 'a; name : string; index : 'a expression option } -- cgit v1.2.3