Sean Leather <[EMAIL PROTECTED]> wrote:
> > example = zip [1,2::Int] ['a','b'] ["1","b"] ::
> > [(Int,Char,String)]
>
> BTW, I realized that this example also works in yours. You
> weren't giving enough type annotations.

  Yes, exactly. Or in other words, the class definition does not
  correctly specify the dependencies. That is what I am writing
  in about -- I don't want clients to 'zip' to be required to
  put all those type annotations in.

--
_jsn
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to