Stefan Holdermans <[EMAIL PROTECTED]> wrote:
> What about the following (tested with GHC 6.6)?

and [EMAIL PROTECTED] wrote:
> 
> One way is to use existentials:
<snip>
> Perhaps a better -- and a more general alternative -- is to use
> type-level programming to its fullest.

    Thanks everyone, those are interesting solutions!

Thanks,

Greg Buchholz

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

Reply via email to