You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that depends on whether we adopt the rule that ops dealing with multiple streams should work via a prefix notation. If we do, zip would make more sense, if we don't, map would make more sense. Personally I think we should adopt that philosophy (it seems cleaner to me), which would imply keeping zip and map separate.
Activity
mlucy commentedon Feb 13, 2013
This looks like a map operator.
jdoliner commentedon Feb 13, 2013
Actually this looks like
zipWith. I thinkzipshould just automatically make tuples and then you can pass a function tozipWithcoffeemug commentedon Feb 13, 2013
Since we allow optional arguments, we can just call it
zipand have a default mapping that makes tuples.mlucy commentedon Feb 14, 2013
To be clear, I think that we should just let map take multiple streams and an n-ary function where n is the number of streams.
coffeemug commentedon Feb 14, 2013
I think that depends on whether we adopt the rule that ops dealing with multiple streams should work via a prefix notation. If we do,
zipwould make more sense, if we don't,mapwould make more sense. Personally I think we should adopt that philosophy (it seems cleaner to me), which would imply keepingzipandmapseparate.srh commentedon May 16, 2017
mapis now multi-stream. Closing.