Check type of main return
This commit is contained in:
7
bf.kp
7
bf.kp
@@ -60,4 +60,9 @@
|
||||
;(def! main (fn* [] (cond false 1 false 2 true 3 true 4 false 5)))
|
||||
;(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* [a b c] (- (+ a b) c)) 13 1 4)))
|
||||
|
||||
(def! main (fn* [] (fn* [] 1)))
|
||||
|
||||
;(def! other (fn* [a b c] (- (+ a b) c)))
|
||||
;(def! main (fn* [] (other 13 1 4)))
|
||||
|
||||
Reference in New Issue
Block a user