Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,4 +1,6 @@
|
|||
(take 100 (map #(let [s (str %2 %3) ] (if (seq s) s (inc %)) )
|
||||
(range)
|
||||
(cycle [ "" "" "Fizz" ])
|
||||
(cycle [ "" "" "" "" "Buzz" ])))
|
||||
(map (fn [n]
|
||||
(if-let [fb (seq (concat (when (zero? (mod n 3)) "Fizz")
|
||||
(when (zero? (mod n 5)) "Buzz")))]
|
||||
(apply str fb)
|
||||
n))
|
||||
(range 1 101))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue