From 5bb828e37d14ac90eb3f1dc93eaaaf5522d620fe Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Wed, 1 Oct 2014 20:07:29 -0400 Subject: [PATCH] Forgot some colons, this syntax suuuuuucks --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 413bab4..130aeda 100644 --- a/README.md +++ b/README.md @@ -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