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.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/syntax/tree.ml') diff --git a/lib/syntax/tree.ml b/lib/syntax/tree.ml index 6f99bbd..21238a6 100644 --- a/lib/syntax/tree.ml +++ b/lib/syntax/tree.ml @@ -5,7 +5,7 @@ let description = "Build the AST" let active = ref true module Ast = struct - 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