caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Should a /\ operator be possible?
@ 2008-05-01 19:41 Richard Jones
  2008-05-01 21:20 ` [Caml-list] " Richard Jones
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Jones @ 2008-05-01 19:41 UTC (permalink / raw)
  To: caml-list

Should code like this be possible?

  let ( /\ ) (a1, a2) (b1, b2) = a2 > b1 || b2 > a1

This is accepted by camlp4 (3.10.1 & 3.10.2) but rejected by pure
ocamlc and also by ocamldoc.

$ ocamlc -pp camlp4of test.ml
<nothing printed>

$ ocamlc test.ml
File "test.ml", line 1, characters 7-8:
Illegal character (\\)

Rich.

-- 
Richard Jones
Red Hat


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

end of thread, other threads:[~2008-05-05  6:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01 19:41 Should a /\ operator be possible? Richard Jones
2008-05-01 21:20 ` [Caml-list] " Richard Jones
2008-05-01 21:36   ` Hezekiah M. Carty
2008-05-02  7:44     ` Gordon Henriksen
2008-05-02  6:43   ` Vincent Hanquez
2008-05-02  8:05   ` David Teller
2008-05-02  8:26     ` Richard Jones
2008-05-02  9:23   ` Alain Frisch
2008-05-02 11:54     ` Daniel Bünzli
2008-05-05  6:36       ` Maxence Guesdon
2008-05-02 14:27     ` Robert Fischer
2008-05-02 17:02       ` Yann Régis-Gianas
2008-05-02 15:11     ` Hezekiah M. Carty
2008-05-02 15:25       ` Alain Frisch

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