Browse thread
[Caml-list] Semantics of physical equality
[
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: | Kevin S. Millikin <kmillikin@a...> |
| Subject: | [Caml-list] Semantics of physical equality |
I'm trying to figure out what I can rely on about physical equality. I've checked the OCaml manual but can't seem to find what I want to know. Presume # type t = V0 | V1 of int;; type t = V0 | V1 of int # V0 == V0;; - : bool = true V0's are the same. Is this guaranteed? # V1(0) == V1(0);; - : bool = false V1's are different. Is this guaranteed? ---- Kevin S. Millikin Architecture Technology Corporation Research Scientist Specialists in Computer Architecture (952)829-5864 x162 http://www.atcorp.com ------------------- 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