Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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