Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
(defmacro branch-if-macro
|
||||
[branch-if Cond1 Cond2 Both Fst Snd None] ->
|
||||
[if Cond1
|
||||
[if Cond2 Both Fst]
|
||||
[if Cond2 Snd None]])
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
(define try
|
||||
X Y -> (branch-if (integer? X)
|
||||
(integer? Y)
|
||||
both-ints first-int second-int neither-int))
|
||||
|
||||
(map (/. X (do (print X) (nl)))
|
||||
[(try 1 2) (try 1 1.5) (try 1.5 1) (try 1.5 1.5)])
|
||||
Loading…
Add table
Add a link
Reference in a new issue