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 OAA02564; Mon, 3 Feb 2003 14:31:24 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA02683 for ; Mon, 3 Feb 2003 14:31:23 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h13DVMP09721 for ; Mon, 3 Feb 2003 14:31:22 +0100 (MET) Received: from cedre.ens.fr (cedre.ens.fr [129.199.99.47]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id h13DVMM90511 for ; Mon, 3 Feb 2003 14:31:22 +0100 (CET) Received: from (dejaeger@localhost) by cedre.ens.fr (8.11.2/jb-1.1) To: OCaml List Subject: Re: [Caml-list] xor on booleans References: From: Frederic De Jaeger Date: 03 Feb 2003 14:31:22 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk CB> Hi, CB> a little suggestion for the Pervasives module: the CB> xor operator on booleans CB> let (^^) = (<>) CB> Christoph Bauer For type safety, it would be better to have let (^^) (x:bool) (y:bool) = x <> y ------------------- 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