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
Are local macros needed?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-05-18 (09:36)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Are local macros needed?

As many of you know, Delimited Overloading (pa_do) [1] has always been
providing an enhanced macro system.  The latest release additionally
features macros parametrized by other macros (passed as arguments).
These developments of the macro system made me wonder whether local
macros (DEFINE ... in ...) are used/needed.  I'd like to know what is
your opinion about it (with compelling examples if possible).  Thanks
in advance for your input!


[1] (godiva spec file provided)