From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA08625; Mon, 3 Feb 2003 17:01:45 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA08509 for ; Mon, 3 Feb 2003 17:01:44 +0100 (MET) Received: from lachesis.inria.fr (lachesis.inria.fr [128.93.52.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h13G1ff08789; Mon, 3 Feb 2003 17:01:41 +0100 (MET) Received: (from lefessan@localhost) by lachesis.inria.fr (8.12.5/8.12.5/Submit) id h13F84U6010203; Mon, 3 Feb 2003 16:08:04 +0100 From: Fabrice Le Fessant MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15934.34258.890539.708397@lachesis.inria.fr> Date: Mon, 3 Feb 2003 16:08:02 +0100 To: Frederic De Jaeger Cc: OCaml List Subject: Re: [Caml-list] xor on booleans References: <15934.30328.890419.546763@lachesis.inria.fr> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: fabrice@lefessant.net Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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