release 0.1.0
This commit is contained in:
commit
30d94536a9
90 changed files with 7722 additions and 0 deletions
12
modules/core/branch.owa
Normal file
12
modules/core/branch.owa
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(seq
|
||||
;; builtins
|
||||
(def if-eq builtins.cond.if_eq)
|
||||
(def match builtins.cond.match)
|
||||
(def if-has builtins.cond.if_has)
|
||||
|
||||
(defmacro if [cond then]
|
||||
(if-eq (:false $cond) (seq $%&) (seq $then)))
|
||||
|
||||
(defmacro unless [cond then]
|
||||
(if-eq (:false $cond) (seq $then) (seq $%&)))
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue