Hacker News new | past | comments | ask | show | jobs | submit login

What would be the opposite of "fork", something like "zip" that gets two lists and combines them into one? Would it have a signature also starting like this: `zip<A, B, C>(...`



I think that about right. Although I think this is slightly different than regular zip which is [a] -> [b] -> [(a,b)] and instead would be ([a],[b]) -> [c] or if I remember currying right [a] -> [b] -> [c].




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: