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 RAA02727; Mon, 9 Apr 2001 17:35:06 +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 RAA02723 for ; Mon, 9 Apr 2001 17:35:05 +0200 (MET DST) Received: from lakeland.eecs.harvard.edu (lakeland.eecs.harvard.edu [140.247.62.173]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f39FYxP23307 for ; Mon, 9 Apr 2001 17:34:59 +0200 (MET DST) Received: by lakeland.eecs.harvard.edu (Postfix, from userid 32148) id 3381518D7D; Mon, 9 Apr 2001 11:34:49 -0400 (EDT) Date: Mon, 9 Apr 2001 11:34:49 -0400 From: Christian Lindig To: Caml Mailing List Subject: Re: [Caml-list] petty complaints Message-ID: <20010409113449.A19116@lakeland.eecs.harvard.edu> Mail-Followup-To: Christian Lindig , Caml Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bpr@best.com on Sun, Apr 01, 2001 at 09:26:59PM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, Apr 01, 2001 at 09:26:59PM -0700, Brian Rogoff wrote: > Another unrelated trifling question concerns the syntax of numerical > literals. Now that the spring cleaning for OCaml's syntax (floats, labels, constructors) is in full swing, here is my wish: Haskell allows to use any identifier as a binary operator when it is placed in backquotes: x `plus` y. These operators are often more readable than the classic infix operator symbols. These terms have no associativity and a low precedence, thus forcing to use parentheses. An implementation would only affect the lexer and should not be too hard. Would other people like this feature, too? -- Christian -- Christian Lindig Harvard University - DEAS lindig@eecs.harvard.edu 33 Oxford St, MD 242, Cambridge MA 02138 phone: +1 (617) 496-7157 http://www.eecs.harvard.edu/~lindig/ ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr