caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* "do notation" in ocaml
@ 2005-01-27 17:56 Jacques Carette
  0 siblings, 0 replies; only message in thread
From: Jacques Carette @ 2005-01-27 17:56 UTC (permalink / raw)
  To: caml-list

Has anyone done a set of camlp4 macros for "do" notation in ocaml?  I am
experimenting with some (non-state) monadic code in ocaml, and writing all
of it in "long form" is really quite tiresome!

I don't even need 'return', just syntactic sugar for >>= would be
sufficient.

Thanks,
Jacques

PS: of course, if there are other, better ways to do this, I welcome any and
all pointers.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-27 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-27 17:56 "do notation" in ocaml Jacques Carette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).