Re-implemented (export)
This commit is contained in:
@@ -57,13 +57,4 @@
|
||||
|
||||
; Interop
|
||||
(test "interop" ((of (of (js) "Math") "max") 2 4) 4)
|
||||
(test "recursive key selector" ((of (js) "Math" "max") 2 4) 4)
|
||||
|
||||
; fs
|
||||
|
||||
; filesystem
|
||||
|
||||
(echo (filepath))
|
||||
(echo (dirpath))
|
||||
(echo (file))
|
||||
(echo (dir))
|
||||
(test "recursive key selector" ((of (js) "Math" "max") 2 4) 4)
|
@@ -1,16 +0,0 @@
|
||||
; recursive
|
||||
|
||||
(clear)
|
||||
(defn rec
|
||||
(v)
|
||||
(if
|
||||
(gt v 0)
|
||||
(
|
||||
(stroke
|
||||
(circle
|
||||
(mul 5 v)
|
||||
(mul 5 v)
|
||||
(mul 5 v)) "red" 1)
|
||||
(rec
|
||||
(sub v 5)))))
|
||||
(rec 100)
|
Reference in New Issue
Block a user