diff options
author | Chimrod <> | 2023-11-13 10:12:42 +0100 |
---|---|---|
committer | Chimrod <> | 2023-11-13 11:54:49 +0100 |
commit | 4ec7f0b73f8aa43eccf387bdec55fc464d809896 (patch) | |
tree | 9cf31bee4b23e4d48bdbd33bee49f2c25a6334a7 /lib/syntax/tree.ml | |
parent | 0d5bcaea3370697822675d9f8d25bca34c02505e (diff) |
Simplified the representation of expressions in strings
Diffstat (limited to 'lib/syntax/tree.ml')
-rw-r--r-- | lib/syntax/tree.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |