Forgot some colons, this syntax suuuuuucks

This commit is contained in:
Brian Picciano 2014-10-01 20:07:29 -04:00
parent 98bc79a653
commit 5bb828e37d

View File

@ -85,7 +85,7 @@ The `def` function can be used to bind some value to a new variable:
# Now :foo will evaluate to the string bar
:(:def incr
(:fn [x]
:(:fn [x]
:(:+ :x 1)))
# Now :incr will evaulate to a function which adds 1 to its argument
@ -99,7 +99,7 @@ value. This evaluates to a map with 2 key/val pairs:
```
{ foo :foo
bar (:incr 4) }
bar :(:incr 4) }
```
`.` is the half-evaluator. It only works on lists, and runs the function given