caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Hecker <checker@d6.com>
To: Jun Furuse <Jun.Furuse@inria.fr>
Cc: Jun.Furuse@inria.fr, caml-list@inria.fr
Subject: [Caml-list] Re: [Caml-announce] G'Caml, Caml with Extensional polymorphism extension
Date: Tue, 24 Jul 2001 11:22:28 -0700	[thread overview]
Message-ID: <4.3.2.7.2.20010724110117.02819a90@shell16.ba.best.com> (raw)
In-Reply-To: <20010724160232T.Jun.Furuse@inria.fr>


[I just noticed this thread has been on caml-announce.  I've switched it over.  Perhaps the reply-to header on caml-announce should be set to caml-list?]

>> Can I make a minor syntax request?  Can this be called "typecase" instead of
>> "case" to prevent confusion with the "match with" operator and SML's "case"?
>Sorry, but I just do not want to type *8* (not 4) more letters 
>for each generic binding.

You're kidding, right?  A syntax decision on an important feature that has no backwards compatibility restrictions and will be with us forever is being made because you don't want to type 4 more characters?  Dude, look into dabbrev-expand or bind a key to (insert "typecase") or something.  

This is exactly how languages get to the point where a newcomer decides to start learning it and quickly says, "what the hell were they thinking?"  Sometimes over and over again.

>Let me write some history of the generic binding. The "generic
>... case" syntax was originally proposed in the POPL'95 paper by
>Catherine Dubois, Fran\c{c}ois Rouaix and Pierre Weis. 

SML's had it since, what, 1970?

> Actually, it is not mandatory to write "case" in G'Caml.

Then do that instead.  I'm fine with not having to type it at all, but then make that the official syntax and don't make case a reserved word.  Yes, I guarantee having it in there is going to be confusing to new people.  Please, either remove it, or change it to typecase (or whatever), before it's too late.

Chris


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      parent reply	other threads:[~2001-07-24 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4.3.2.7.2.20010720233759.027da4b0@shell16.ba.best.com>
2001-06-19 16:24 ` Jun Furuse
2001-06-19 17:38   ` [Caml-list] " Jun Furuse
2001-06-19 17:57   ` Brian Rogoff
     [not found]   ` <20010724160232T.Jun.Furuse@inria.fr>
2001-07-24 18:22     ` Chris Hecker [this message]

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=4.3.2.7.2.20010724110117.02819a90@shell16.ba.best.com \
    --to=checker@d6.com \
    --cc=Jun.Furuse@inria.fr \
    --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).