Added (times i fn) to prelude

This commit is contained in:
Devine Lu Linvega
2019-07-21 09:20:04 +09:00
parent aaa77de890
commit 3ea7fff85f
4 changed files with 104 additions and 88 deletions

View File

@@ -6,4 +6,11 @@
; define a function
(defn add-two (a) (add 2 a))
(echo (add-two 4))
(echo (add-two 4))
; run
(times 5
(lambda
(a)
(echo
(concat "time:" a))))