Add functions and lists
This commit is contained in:
6
tests/functions.ppl
Normal file
6
tests/functions.ppl
Normal file
@@ -0,0 +1,6 @@
|
||||
(let x (function int [function in int num]
|
||||
(print "recursively called" (+ num 1) "times")
|
||||
(in in (+ num 1))
|
||||
))
|
||||
|
||||
(x x 1)
|
||||
Reference in New Issue
Block a user