@@ -1,14 +1,6 @@
-Assn x Chc(
- Cat(
- Num(5)
- )
-)
+Assn x Num(5)
-Assn y Chc(
- Lit(Atom(This))
+Assn y Lit(Atom(This))
LitAssn a, [ a b c d ]
@@ -1,6 +1,2 @@
-Puts Chc(
- Lit(Atom(Foo))
+Puts Lit(Atom(Foo))
@@ -1,163 +1,73 @@
- Lit(Atom(That))
- Lit(Atom(The-Other))
+Puts Cat(
+ Lit(Atom(This))
+ Lit(Atom(That))
+ Lit(Atom(The-Other))
)
Puts Chc(
5:
- Ap(
- Var(foo)
- Var(bar)
- Var(baz)
+Puts Ap(
+ Ap(
+ Var(foo)
+ Var(bar)
+ Var(baz)
+Puts Tup(
Cat(
- Tup(
- Chc(
- Num(1)
+ Num(1)
- Num(2)
+ Num(2)
- Num(3)
+ Num(3)
- Range(
- Num(0)
- Num(20)
+Puts Range(
+ Num(0)
+ Num(20)
- Var(x)
- Var(y)
+ Var(x)
+ Var(y)
- Var(f)
+ Var(f)
- Fun(
- x =>
+Puts Fun(
+ x =>
- True =>
- Str("yes")
- False =>
- Str("no")
+ True =>
+ Str("yes")
+ False =>
+ Str("no")
- Num(55)
+Puts Num(55)
@@ -1,35 +1,25 @@
- Str("foo")
+ Str("foo")
- Str("foo bar baz")
+ Str("foo bar baz")
- Str("won't you")
- Str("quoth the raven \"nevermore\"")
+ Str("won't you")
+ Str("quoth the raven \"nevermore\"")
- Str("this\nthat")
- Str("one\ntwo")
+ Str("this\nthat")
+ Str("one\ntwo")
- Str("\n\t\r")
+ Str("\n\t\r")