Created
January 22, 2015 21:38
-
-
Save ztellman/09c26dbfd73dee78ed4a 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
| (defn split-spliced-stream [s] | |
| (let [in (a/chan) | |
| out (a/chan)] | |
| (s/connect s in) | |
| (s/connect out s) | |
| [in out])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment