add some examples
This commit is contained in:
parent
d44f3f30c8
commit
2019b49447
2
examples/lambda.lisp
Normal file
2
examples/lambda.lisp
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
(define a (λ () (+ 1 2 3)))
|
||||||
|
(a)
|
4
examples/math.lisp
Normal file
4
examples/math.lisp
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(+ 1 2 3 4 5 6 7 8 9 10) ; 55
|
||||||
|
(- 10 9 8 7 6 5 4 3 2 1) ; -35
|
||||||
|
(* 1 2 3 4 5 6 7 8 9 10) ; 3628800
|
||||||
|
(/ 10 5) ; 2
|
Loading…
Reference in a new issue