[Haskell-cafe] varargs zip

Jason Dusek jason.dusek at gmail.com
Fri Nov 21 09:40:14 EST 2008

  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.

  When the argument lists are all definitely of one type,
  instance selection works as expected; however, with numeric
  types, for example, things don't work out. I'm not sure how to
  express the idea that the result tuple determines the
  arguments types, with either of functional dependencies or
  associated types.



More information about the Haskell-Cafe mailing list