Created
December 4, 2017 20:56
-
-
Save anonymous/0136aa1775a001bc2afc73d1ed34ce78 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 count-lines [channel npar] | |
(let [counters (for [_ (range npar)] | |
(w-counter channel))] | |
(async/reduce + 0 (async/merge counters)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment