[Haskell-cafe] varargs zip

Henning Thielemann lemming at henning-thielemann.de
Fri Nov 21 10:33:55 EST 2008


On Fri, 21 Nov 2008, Jason Dusek wrote:

>  It came up on IRC last night that there is no "generic" zip in
>  Haskell. I decided to write one as an example, but it only
>  half works.

I think that the ZipList type for Applicative functors is a solution.

http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Applicative.html#t%3AZipList



More information about the Haskell-Cafe mailing list