caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Associativity precedence for the user-defined operator.
@ 2004-07-23 14:27 Claudio Trento
  2004-07-23 14:36 ` Richard Jones
  2004-07-23 17:42 ` Jean-Baptiste Rouquier
  0 siblings, 2 replies; 4+ messages in thread
From: Claudio Trento @ 2004-07-23 14:27 UTC (permalink / raw)
  To: caml-list


Hi,

I've defined a set of new operetors, for instance:

let ( /+/ ) = add_num   (where add_num is a function that added two sometype 
			elements.) 

but I don't know if I can set associativity precedence for this operator,
writing: el1 ( /+/ ) el2 ( /+/ ) el3 without parenthesis, what happens?



Cheers,

Claudio 


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2004-07-23 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-23 14:27 [Caml-list] Associativity precedence for the user-defined operator Claudio Trento
2004-07-23 14:36 ` Richard Jones
2004-07-23 17:42 ` Jean-Baptiste Rouquier
2004-07-23 19:52   ` John Prevost

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