Created
December 3, 2012 15:16
-
-
Save cemerick/4195657 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| (let [xs (repeatedly promise) | |
| ys (->> xs | |
| (map (comp vector deref)) | |
| (map concat))] | |
| (deliver (first xs) 42) | |
| (first ys)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment