
18 Oct
2006
18 Oct
'06
4:44 p.m.
Stefan Holdermans
What about the following (tested with GHC 6.6)?
and oleg@pobox.com 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