Browse thread
[Caml-list] xor on booleans
[
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: | Fabrice Le Fessant <fabrice@l...> |
| Subject: | Re: [Caml-list] xor on booleans |
> let s = "hello " ^^ "word" in ... > > That's why I suggested to restrict the allowed type of (^^). Fortunately, the type-checker will tell you that you have made an error as soon as you will try to use 's', which is a boolean and not a string ... - Fabrice ------------------- 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