[Haskell-cafe] Type classes, collections, sum types, closures, and a massive headache
t at tmh.cc
Tue Jan 29 03:17:12 CET 2013
If I understand your message well enough, I think you are looking for
GHC's `ExistentialQuantification` extension. Building heterogeneous
collections is a common example of what existential types are useful
for. Take a look at this wiki page ; there is an example of how to
accomplish this there, along with a handful of other techniques.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the Haskell-Cafe