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 VAA07561; Fri, 25 Oct 2002 21:02:52 +0200 (MET DST) 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 VAA07745 for ; Fri, 25 Oct 2002 21:02:51 +0200 (MET DST) Received: from grace.speakeasy.org (grace.speakeasy.org [216.254.0.2]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g9PJ2n515967 for ; Fri, 25 Oct 2002 21:02:49 +0200 (MET DST) Received: (qmail 3668 invoked by uid 36130); 25 Oct 2002 19:02:47 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Oct 2002 19:02:47 -0000 Date: Fri, 25 Oct 2002 12:02:47 -0700 (PDT) From: brogoff@speakeasy.net To: caml-list@inria.fr Subject: [Caml-list] CamlP4 Revised syntax comment Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Skip this thread if syntax discussions don't interest you. I was wondering what Revised users think about replacing comparison = with ==, as in Haskell, and giving phys ref equality some other name? Why? Well, = is overloaded in OCaml/Revised for both binding and comparison, and this change removes that overloading and uses a fairly common (C, Haskell, Clean,...) symbol == for equality. Physical reference equality should be used rather sparingly anyways so it is better perhaps that it not even be infix. Besides the extra keystroke, I couldn't think of good reasons why not. Backwards compatibility is not much argument against changes in Revised syntax. Another possible change along the same lines is having =/= or /= for inequality, which happens to look a little more like the mathematical symbol. -- Brian ------------------- 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