Browse thread
type t = ()
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] type t = () |
On Friday 10 June 2005 14:02, Florian Hars wrote: > But the bug is in the same class as: > > # let (-) = ( * );; > val ( - ) : int -> int -> int = <fun> > # 1 + 2 - 3;; > - : int = 9 > > No? Isn't that exactly what you'd expect? (1 + 2) * 3 = 9 -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists