Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] failwith, raise and type inference
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <debian00@t...>
Subject: Re: [Caml-list] failwith, raise and type inference
> --- Pierre Weis <> wrote:
> > [...]
> > Operator precedence in Caml has been carefully crafted, you should

Well I have a little question on this.  The guide says "Arithmetic
operators: the same rules as in mathematics." but

-. 3.**2.

returns 9. while in math -x^2 means -(x^2) and not (-x)^2 !  I am
curious why such an oddity.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: