26 Jul
2007
26 Jul
'07
7:07 a.m.
On 7/26/07, Jon Harrop <jon@ffconsultancy.com> wrote:
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