Last active
March 26, 2017 00:34
-
-
Save chpill/fd59a8071bb8dfa8a7d5e04299a5c097 to your computer and use it in GitHub Desktop.
dive into transducers - extract from https://github.com/chpill/transducers-deep-dive/blob/a9d158b161fd963cb5c7ba1ab18531b76da8ae08/test/transducers_deep_dive/core_test.clj
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 make-chunks [chunk-count chunk-size] | |
(for [i (range chunk-count)] | |
(for [j (range chunk-size)] | |
{:a (mod j 3)}))) | |
(def chunks (make-chunks 10 999)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment