Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* using camlp4
@ 2007-05-07 22:17 micha
  2007-05-08  9:19 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: micha @ 2007-05-07 22:17 UTC (permalink / raw)
  To: caml-list

hi,

I have classes which have many getter/setter methods. At the moment I
use two naming schemes intermixed: get_property / set_property and
property / set_property and I don't like that very much.
I would like to integrate one camlp4 extension which allows to define
the getter and setter methods for members, to be able to write:

obj#prob <- xxx;
print_endline obj#prob;

Is this a good idea to integrate camlp4 macros in my project? If
someone who might use my lib  also uses a camlp4 extension, can this
lead to trouble?

thanks
 Michael


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-08  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07 22:17 using camlp4 micha
2007-05-08  9:19 ` [Caml-list] " Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox