* [Caml-list] ** and -. precedence
@ 2002-09-26 20:18 Christophe TROESTLER
0 siblings, 0 replies; only message in thread
From: Christophe TROESTLER @ 2002-09-26 20:18 UTC (permalink / raw)
To: O'Caml Mailing List
Hi all,
I was wondering whether there is a reason for the relative precedence
of "-." and "**". This is because with the current rules
-. x**2.
means (-. x)**2. instead of -.(x**2.). However, from a mathematical
point of view,
-x^2
means -(x^2) and never (-x)^2 ...
Actually, if nobody objects, I would be in favor of permuting the
precedences so -. x**2. actually means -.(x**2.) --- in accordance to
the usual mathematical syntax.
Cheers,
ChriS
-------------------
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] only message in thread
only message in thread, other threads:[~2002-09-27 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-26 20:18 [Caml-list] ** and -. precedence Christophe TROESTLER
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).