caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Yaron Minsky <yminsky@gmail.com>
To: Caml Mailing List <caml-list@inria.fr>
Subject: Seemingly inconsistent labels for List module
Date: Sat, 28 May 2005 21:56:35 -0400	[thread overview]
Message-ID: <891bd33905052818563ef06063@mail.gmail.com> (raw)

I've noticed what appear to be inconsistent labelling on some list
functions, and I'm wondering if I'm properly understanding the reasons
behind the way the labels work.

For example, in the various association list functions, in some cases
the association list is passed with a ~map label, and sometimes with
no label.  Another odd case is the mem and memq functions, both of
which label the list being queried with the label ~set.  In this case,
the labelling mostly seems kind of useless rather than inconsistent.

I'm asking all of this because I'm playing around with writing a
labelled version of the extlib interface, and I'm wondering whether
these are mistakes that should be fixed, or whether there are good
reasons for them and they should be preserved.

Yaron


             reply	other threads:[~2005-05-29  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29  1:56 Yaron Minsky [this message]
2005-05-30  0:27 ` [Caml-list] " Jacques Garrigue

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=891bd33905052818563ef06063@mail.gmail.com \
    --to=yminsky@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=yminsky@cs.cornell.edu \
    /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).