mirror of
https://github.com/samsonjs/lake.git
synced 2026-04-27 14:57:43 +00:00
readme
This commit is contained in:
parent
2efdbae78a
commit
7d7b9a29a2
1 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ Deviating from RSR5 `eq?` is called `is?` in Lake Scheme, which I find much clea
|
||||||
> (equal? a b)
|
> (equal? a b)
|
||||||
#t
|
#t
|
||||||
|
|
||||||
One final thing to note is an experiment I call *naked lists* (or expressions). These are only valid at the top level in the repl and are just lists without parens, like so:
|
One final thing to note is an experiment I call *naked calls* (or expressions). These are only valid at the top level in the repl and are just lists without parens, like so:
|
||||||
|
|
||||||
> define empty? (lambda (x) (or (null? x) (is? x 0) (equal? x "")))
|
> define empty? (lambda (x) (or (null? x) (is? x 0) (equal? x "")))
|
||||||
> empty? 4
|
> empty? 4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue