Can compile functions depending on other top level functions and values
This commit is contained in:
6
bf.kp
6
bf.kp
@@ -61,8 +61,10 @@
|
||||
;(def! main (fn* [] ((fn* [] (+ (+ 1 2) 3)) 13 1 2)))
|
||||
;(def! main (fn* [] (((fn* [] (fn* [] 1))))))
|
||||
;(def! main (fn* [] ((fn* [a b c] (- (+ a b) c)) 13 1 4)))
|
||||
|
||||
(def! main (fn* [] (fn* [] 1)))
|
||||
;(def! main (fn* [] (fn* [] 1)))
|
||||
|
||||
;(def! other (fn* [a b c] (- (+ a b) c)))
|
||||
;(def! main (fn* [] (other 13 1 4)))
|
||||
|
||||
(def! other 12)
|
||||
(def! main (fn* [] (+ other 4)))
|
||||
|
||||
Reference in New Issue
Block a user