Created
February 1, 2011 22:51
-
-
Save sritchie/806902 to your computer and use it in GitHub Desktop.
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 all-months | |
"Returns a seq of the months inside of a rain array." | |
[^HeapByteBuffer buf] | |
(map #(take (* 360 720) (float-seqs %)) | |
(for [i (range 12)] (extract-month i buf)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment