Skip to content

Instantly share code, notes, and snippets.

View bostonaholic's full-sized avatar
🏕️

Matthew Boston bostonaholic

🏕️
View GitHub Profile
@bostonaholic
bostonaholic / iota.clj
Created January 26, 2011 23:10 — forked from fogus/iota.clj
iota clojure
(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)))
@bostonaholic
bostonaholic / ruby koans watchr file
Created January 4, 2012 14:11 — forked from daniely/ruby koans watchr file
Super simple watchr for ruby koans
watch('koans/(.*)\.rb') { system "rake" }