Version française
Home     About     Download     Resources     Contact us    
Browse thread
Should a /\ operator be possible?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gordon Henriksen <gordonhenriksen@m...>
Subject: Re: [Caml-list] Should a /\ operator be possible?
Maybe Unicode support in the standard library should come before  
Unicode identifiers in the sources.

On 2008-05-01, at 17:36, Hezekiah M. Carty wrote:

> On Thu, May 1, 2008 at 5:20 PM, Richard Jones <rich@annexia.org>  
> wrote:
>> 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 (⊆) = ...
>
> Did this come up at the OCaml meeting [1]?  I think Xavier Leroy said
> something about updating OCaml to allow UTF-x source files, though I
> have only read the transcripts and don't know the full context or how
> official this is.
>
> Hez
>
> [1] - http://wiki.cocan.org/events/europe/ocamlmeetingparis2008
>
> -- 
> Hezekiah M. Carty
> Graduate Research Assistant
> University of Maryland
> Department of Atmospheric and Oceanic Science
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs



— Gordon