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] Preferred use of Invalid_argument and Failure
Date: Wed, 24 Oct 2007 16:10:59 +0100	[thread overview]
Message-ID: <20071024151059.GA30808@furbychan.cocan.org> (raw)
In-Reply-To: <D8A70633-43AA-46D2-AECC-47CD1990D07F@erratique.ch>

On Wed, Oct 24, 2007 at 03:22:39PM +0200, Daniel Bünzli wrote:
> 
> Le 24 oct. 07 à 15:15, Yaron Minsky a écrit :
> 
> >As in:
> >
> >  map_of_alist : ('a * 'b) list -> [ `Repeated_key of 'a | `Succ of  
> >('a,'b) Map.t ]
> >
> >The return value is both explicit and a polymorphic variant.
> 
> Interesting solution. I would however suggest `Value instead of `Succ 
> (ess ?). I was confused thinking about  `Succ(essor) because of  
> Pervasives.succ.

Same confusion here (Succ notation for natural numbers).

Rich.

-- 
Richard Jones
Red Hat


  parent reply	other threads:[~2007-10-24 15:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  6:45 Michaël Le Barbier
2007-10-24  7:06 ` [Caml-list] " Alain Frisch
2007-10-24  8:06 ` Xavier Leroy
2007-10-24 11:05   ` Yaron Minsky
2007-10-24 11:30     ` Joel Reymont
2007-10-24 13:15       ` Yaron Minsky
2007-10-24 13:22         ` Daniel Bünzli
2007-10-24 14:45           ` Jon Harrop
2007-10-24 15:10           ` Richard Jones [this message]
2007-10-24 14:44         ` Jon Harrop
2007-10-25  7:07   ` Michaël Le Barbier

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=20071024151059.GA30808@furbychan.cocan.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).