
25 Jul
2007
25 Jul
'07
7:07 p.m.
On 7/26/07, Jon Harrop
Does Haskell have anything similar to OCaml's polymorphic variants?
No as such, but it's possible to simulate them. As always Oleg was the one to demonstrate how: http://okmij.org/ftp/Haskell/generics.html Cheers, Josef