caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Bruno Guillaume <Bruno.Guillaume@inria.fr>
To: caml-list@inria.fr
Cc: Bruno Guillaume <Bruno.Guillaume@inria.fr>
Subject: [Caml-list] Specification of the choose function on sets
Date: Tue, 20 Jun 2017 07:46:47 +0200	[thread overview]
Message-ID: <F59198C8-1CC3-4C54-B803-99A781ABC61D@inria.fr> (raw)

Dear Ocamlers,

In a context not directly related to OCaml, I want to define the semantics of a “choose” function on a set. 
In the doc of Set.Make, for the “choose" function, it is said: 

“but equal elements will be chosen for equal sets.”

What is the rationale behind this specification? Do you have examples where this specific requirement is needed?

Thanks,

Bruno

             reply	other threads:[~2017-06-20  5:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20  5:46 Bruno Guillaume [this message]
2017-06-20 15:19 ` Martin Riener
2017-06-20 16:52   ` Gabriel Scherer

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=F59198C8-1CC3-4C54-B803-99A781ABC61D@inria.fr \
    --to=bruno.guillaume@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).