aboutsummaryrefslogtreecommitdiffstats
path: root/spec.md
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-10-04 14:46:45 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-05 14:21:53 +0200
commit7a498e3a581f26b81fc9c2c9c7af8448a7f84f0f (patch)
tree10c05309191807d0bcc31a9fcca4a422c1cda414 /spec.md
parentfe5d1ec1b76b8cb42359324030e701a719847a50 (diff)
Rename and refactor
Diffstat (limited to 'spec.md')
-rw-r--r--spec.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec.md b/spec.md
index 953b672..19992b1 100644
--- a/spec.md
+++ b/spec.md
@@ -29,8 +29,8 @@ Calling the builtin variadic function '\' constructs a new function. The first a
Functions are automatically curried
E.g.
- (let f1 (\[x y] (+ x y)))
- (let f2 (\[x] (\[y] (+ x y))))
+ (let! f1 (\[x y] (+ x y)))
+ (let! f2 (\[x] (\[y] (+ x y))))
; f1 equivalent to f2
## Some builtin functions
@@ -38,7 +38,7 @@ E.g.
`let`
Evaluates second argument and stores the resulting value in the environment.
- (let sum2 (\[x y] (+ x y)))
+ (let! sum2 (\[x y] (+ x y)))
`\`
Defines a function.