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
Adding class initializers with camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-09 (10:56)
From: Joel Reymont <joelr1@g...>
Subject: Adding class initializers with camlp4
Does anyone have examples of how to add initializer code to a class  
via camlp4?

It's not clear to me how one can extend the list of existing  
initializers, for example. There may be some or there may be none.  
Same thing with fields.

	Thanks, Joel