Browse thread
[Caml-list] On the equality of functional values
[
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: | David Brown <caml-list@d...> |
| Subject: | Re: [Caml-list] On the equality of functional values |
On Sun, Oct 27, 2002 at 03:10:59PM +0100, Alessandro Baretta wrote: > # (=) = (=) ;; > Exception: Invalid_argument "equal: functional value". > # let x = (=) in x = x ;; > - : bool = true # let x = (=) and y = (=) in x = y;; Exception: Invalid_argument "equal: functional value". I suspect that the x = x is getting handled specially. Dave Brown ------------------- 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