From f746ba34d799e6560df1aad1cad15a70b34914d1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 22 Jan 2019 16:15:25 -0800 Subject: Moved all the text method stuff into text.moon instead of splitting across string2/containers. Modified the type stuff to output better type names and use (a Dict) and (a List) instead of (Dict) and (List). (Text) now also has a proper constructor. (assume) now also handles a bunch of different assumptions with smart error messages. --- lib/compatibility/compatibility.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compatibility') diff --git a/lib/compatibility/compatibility.nom b/lib/compatibility/compatibility.nom index 45ea1d6..b72997e 100644 --- a/lib/compatibility/compatibility.nom +++ b/lib/compatibility/compatibility.nom @@ -43,7 +43,7 @@ external: ($t is syntax tree): $args = [] for $k = $v in $t: - if ((type of $k) == "a number"): + if ((type of $k) == "a Number"): $args, add (make tree $v) ..else: $args, add "\($k)=\(make tree $v)" -- cgit v1.2.3