[nem-en] Polymorphic variants?

Michal Moskal michal.moskal at gmail.com
Wed Mar 7 18:34:28 CET 2007


On 3/7/07, Sandro Magi <smagi at higherlogics.com> wrote:
> I see a few pages where "polymorphic variants" are mentioned [1], where
> it says, "We will learn more about polymorphic variants later". I see no
> further discussion of them however. Does Nemerle support polymorphic
> variants? If not, perhaps that line should be revised to indicate so.

If you're looking to polymorphic variants in the style of OCaml, then no.

We do support variants with type parameters.


-- 
   Michał


More information about the devel-en mailing list