caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Should a /\ operator be possible?
Date: Thu, 1 May 2008 22:20:23 +0100	[thread overview]
Message-ID: <20080501212023.GA373@annexia.org> (raw)
In-Reply-To: <20080501194149.GA30095@annexia.org>

On Thu, May 01, 2008 at 08:41:49PM +0100, Richard Jones wrote:
>   let ( /\ ) (a1, a2) (b1, b2) = a2 > b1 || b2 > a1

I've just reread the Lexical conventions section in the manual.  For
some reason when I read it first I thought it said that '\' was
allowed, but in fact it's not so this appears to be a bug in camlp4.

BUT can we permit this?  It's nice to be able to define /\ and \/
operators with the obvious meanings :-)

In fact can we open the discussion about converting OCaml source files
into UTF-8 and allow _lots_ more symbols?  eg:

  let (∪) = ...
  let (⊆) = ...

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2008-05-01 21:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-01 19:41 Richard Jones
2008-05-01 21:20 ` Richard Jones [this message]
2008-05-01 21:36   ` [Caml-list] " Hezekiah M. Carty
2008-05-02  7:44     ` Gordon Henriksen
2008-05-02  6:43   ` Vincent Hanquez
2008-05-02  8:05   ` David Teller
2008-05-02  8:26     ` Richard Jones
2008-05-02  9:23   ` Alain Frisch
2008-05-02 11:54     ` Daniel Bünzli
2008-05-05  6:36       ` Maxence Guesdon
2008-05-02 14:27     ` Robert Fischer
2008-05-02 17:02       ` Yann Régis-Gianas
2008-05-02 15:11     ` Hezekiah M. Carty
2008-05-02 15:25       ` Alain Frisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080501212023.GA373@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).