Created
April 18, 2019 10:54
-
-
Save natac13/76da7bcd83c2d5612493301a7e01bb70 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
| const zipManyWith = curry((fn, ars) => { | |
| const n = Math.min(...map(length, ars)); | |
| return map((i) => { | |
| return fn(...map((as) => as[i], ars)); | |
| }, range(0, n)); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment