This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn iota [t nxt stop y] | |
(take-while stop (iterate #(t (nxt %)) y))) | |
(def upto | |
(fn [start end] | |
(iota identity inc #(< % end) start))) | |
(def downto | |
(fn [start end] | |
(iota identity dec #(> % end) start))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch('koans/(.*)\.rb') { system "rake" } |