Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
(defmacro if2 [[cond1 cond2] bothTrue firstTrue secondTrue else]
|
||||
`(let [cond1# ~cond1
|
||||
cond2# ~cond2]
|
||||
(if cond1# (if cond2# ~bothTrue ~firstTrue)
|
||||
(if cond2# ~secondTrue ~else))))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
(defmacro if2
|
||||
[cond1 cond2 both-true first-true second-true both-false]
|
||||
`(case [~cond1 ~cond2]
|
||||
[true true] ~both-true,
|
||||
[true false] ~first-true,
|
||||
[false true] ~second-true
|
||||
[false false] ~both-false))
|
||||
Loading…
Add table
Add a link
Reference in a new issue