[Haskell-cafe] List containing different types but all implementing the same class

Bo Herlin bo at gcab.net
Sat Apr 9 04:24:04 EDT 2005


Mark Carroll wrote:
> On Fri, 8 Apr 2005, Bo Herlin wrote:
> (snip)
> 
>>Is it possible to make this work?
> 
> 
> This is an extension beyond the 1998 standard, but
> http://haskell.org/hawiki/ExistentialTypes may be
> interesting to you.

Yes, I think this is what I was aiming at.

Thanks!

/Bo Herlin


More information about the Haskell-Cafe mailing list