[Haskell-cafe] Restrict values in type
ltclifton at gmail.com
Mon Jan 13 04:12:32 UTC 2014
You can have a heterogeneous list of items that implement a typeclass if
> you have a wrapper that uses ExistentialQuantification. See
Hmm.. I'll take a closer look at that. It might be good enough, though I
would prefer to be able to pattern match on the elements in the list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe