caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "François Pottier" <francois.pottier@inria.fr>
To: Nicolas Barnier <barnier@recherche.enac.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] Choosing a random element in a Map or a Set
Date: Thu, 18 Mar 2021 12:32:09 +0100
Message-ID: <bd3caec3-4518-09c9-cec0-74cbd265d5c7@inria.fr> (raw)
In-Reply-To: <aa6c6dc8-a1c7-f0a5-0433-c6c731451fc3@recherche.enac.fr>

Le 18/03/2021 à 12:10, Nicolas Barnier a écrit :
> I don't know if there are any good implementation of (Python-like)
> extensible arrays in a widespread OCaml library,

Jean-Christophe Filliâtre has proposed a Vector library for a long time
(https://www.lri.fr/~filliatr/ftp/ocaml/misc/vector.ml.html), and there
is also a CCVector module in the excellent Containers library
(https://c-cube.github.io/ocaml-containers/3.2/containers/CCVector/index.html).

-- 
François Pottier
francois.pottier@inria.fr
http://cambium.inria.fr/~fpottier/

  reply	other threads:[~2021-03-18 11:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18  9:44 jean-marc.alliot
2021-03-18 10:06 ` François Pottier
2021-03-18 14:20   ` Simon Cruanes
2021-03-18 17:06     ` jean-marc.alliot
2021-03-18 11:10 ` Nicolas Barnier
2021-03-18 11:32   ` François Pottier [this message]
2021-03-19  1:32   ` Francois Berenger
2021-03-18 12:34 ` Ivan Gotovchits
2021-03-18 12:48 ` Ivan Gotovchits

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=bd3caec3-4518-09c9-cec0-74cbd265d5c7@inria.fr \
    --to=francois.pottier@inria.fr \
    --cc=barnier@recherche.enac.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

caml-list - the Caml user's mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/caml-list
	git clone --mirror https://inbox.ocaml.org/caml-list

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 caml-list caml-list/ http://inbox.vuxu.org/caml-list \
		caml-list@inria.fr
	public-inbox-index caml-list

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.caml-list


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git