Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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:

The example using polymorphic variants:


Nicolas Pouillard