1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 09:27:35 +00:00
bobbylisp/example/s.vl

6 lines
112 B
Plaintext
Raw Normal View History

2022-01-23 21:42:08 +00:00
(fun factorial (x)
2022-01-21 23:43:50 +00:00
(if (<= x 1)
1
(* x (factorial (- x 1)))))
(do
(print (factorial 7)))