caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlp4 infix let
@ 2010-04-07 19:05 Jacques Le Normand
  2010-04-07 19:45 ` [Caml-list] " Jérémie Dimino
  0 siblings, 1 reply; 3+ messages in thread
From: Jacques Le Normand @ 2010-04-07 19:05 UTC (permalink / raw)
  To: caml-list caml-list

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Dear List,
I'm writing a camlp4 syntax extension and I'd like to write

    <:expr< let ( >>= ) = Bar.( >>= ) in 5 >>

but camlp4 complains:

      While expanding quotation "expr" in a position of "expr":
        Parse error: ")" or [ipatt] expected after "(" (in [ipatt])

yet it seems to be valid revised syntax. Does anyone have any ideas?

[-- Attachment #2: Type: text/html, Size: 454 bytes --]

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

end of thread, other threads:[~2010-04-07 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07 19:05 camlp4 infix let Jacques Le Normand
2010-04-07 19:45 ` [Caml-list] " Jérémie Dimino
2010-04-07 20:24   ` Martin Jambon

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).