parent
93896db44f
commit
cb5b4ba9ed
@ -0,0 +1,11 @@
|
||||
(ns two.core)
|
||||
|
||||
|
||||
(defn- nextfib [[a b]] [(+ a b) a])
|
||||
|
||||
(def fibs
|
||||
(map first
|
||||
(iterate nextfib [1 1])))
|
||||
|
||||
(defmacro unless [test body else]
|
||||
(list 'if (list 'not test) body else))
|
Loading…
Reference in new issue