English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
AST transformation and scrapping boilerplate code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-30 (09:54)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] AST transformation and scrapping boilerplate code
On 4/30/07, Joel Reymont <joelr1@gmail.com> wrote:
> Thank you Nicolas! This helps a lot!
>
> What needs to be done to make the generators handle polymorphic
> variants?

Adding just 28 lines in fact, so I've done it.

I technically can't commit this patch right now, but here it is:
http://pastie.caboo.se/57636

The example using polymorphic variants: http://pastie.caboo.se/57635

Regards,

-- 
Nicolas Pouillard