From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 073A3BBC1 for ; Fri, 2 May 2008 16:27:45 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhICAM/BGkjAXQImiGdsb2JhbACRYwEBAQ8gmVs X-IronPort-AV: E=Sophos;i="4.27,426,1204498800"; d="scan'208";a="10322161" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 02 May 2008 16:27:44 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m42ERiJD014839 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 2 May 2008 16:27:44 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkBAM/BGkjQccgFf2dsb2JhbACRYwEBCwUCBgcRmVs X-IronPort-AV: E=Sophos;i="4.27,426,1204498800"; d="scan'208";a="12189937" Received: from lax-green-bigip-5.dreamhost.com (HELO looneymail-a2.g.dreamhost.com) ([208.113.200.5]) by mail3-smtp-sop.national.inria.fr with ESMTP; 02 May 2008 16:27:43 +0200 Received: from Robert-Fischers-Smokejumping-MacBook-Pro.local (unknown [64.241.37.140]) by looneymail-a2.g.dreamhost.com (Postfix) with ESMTP id 6F82116F0E6 for ; Fri, 2 May 2008 07:27:40 -0700 (PDT) Message-ID: <481B24DB.5030709@FischerVenture.com> Date: Fri, 02 May 2008 09:27:39 -0500 From: Robert Fischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Should a /\ operator be possible? References: <20080501194149.GA30095@annexia.org> <20080501212023.GA373@annexia.org> <481ADD86.3000802@frisch.fr> In-Reply-To: <481ADD86.3000802@frisch.fr> X-Enigmail-Version: 0.95.6 OpenPGP: id=E9191DD2; url= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Miltered: at discorde with ID 481B24E0.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; frisch:01 ocaml:01 infix:01 tuareg:01 beginner's:01 ocaml:01 bug:01 beginners:01 wrote:01 wrote:01 caml-list:01 caml-list:01 bin:01 alain:01 alain:01 Yeah, I vote against having to type Alt+number to edit someone else's code. I'd rather that we start allowing LaTeX symbols in our source before we actually have the Unicode symbols themselves in there. Oh, and +1 for actually supporting Unicode in String processing. ~~ Robert. Alain Frisch wrote: > Richard Jones wrote: >> In fact can we open the discussion about converting OCaml source files >> into UTF-8 and allow _lots_ more symbols? eg: >> >> let (∪) = ... >> let (⊆) = ... > > Shouldn't this desire of using mathematical symbols be addressed at > the level of your editor / IDE instead? If the language allowed you > to define and use alphanumeric infix operators like: > > let (`subseteq`) = ... > if (x `subseteq` y) then ... > > then you could simply inform your editor that it should display > `subseteq` as ⊆. The tuareg mode already does this kind of > "symbolification" of some operators like -> (displayed as an arrow) > and 'a (display as a Greek alpha) and it shouldn't be too difficult to > extend that to user-defined operators. > > -- Alain > > _______________________________________________ > 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