From: Yaron Minsky <yminsky@janestreet.com>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] Hmap 0.8.0
Date: Tue, 8 Mar 2016 07:44:40 -0500 [thread overview]
Message-ID: <CACLX4jTiLGbCTeMwT0gnms4dx7mVvXNtVr1-kMYSDon3MhU+pg@mail.gmail.com> (raw)
In-Reply-To: <CF1315BE8AD340D4BC8062059BDD4C08@erratique.ch>
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
Neat!
I'm curious if you've looked at Core_kernel's Univ_map? I believe it's
very similar in spirit, and I'm curious if there are any interesting
differences there:
https://github.com/janestreet/core_kernel/blob/master/src/univ_map.mli
Our type witnesses are a little interesting in that you can derive new
witnesses from old ones (e.g., if a equals a', and b equals b', then a * b
equals a' * b'). That said, I'm not sure that this is relevant for the
heterogenous map use case.
y
On Tue, Mar 8, 2016 at 4:42 AM, Daniel Bünzli <daniel.buenzli@erratique.ch>
wrote:
> Hello,
>
> I'd like to announce the first release of Hmap:
>
> ```
> Hmap provides heterogeneous value maps for OCaml. These maps bind keys
> to values with arbitrary types. Keys witness the type of the value
> they are bound to which allows to add and lookup bindings in a type
> safe manner.
> ```
>
> Hmap has no dependency and is distributed under the ISC license.
>
> Home page: http://erratique.ch/software/hmap/
> API docs: http://erratique.ch/software/hmap/doc/Hmap
>
> Best,
>
> Daniel
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
[-- Attachment #2: Type: text/html, Size: 2417 bytes --]
next prev parent reply other threads:[~2016-03-08 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 9:42 Daniel Bünzli
2016-03-08 12:44 ` Yaron Minsky [this message]
2016-03-08 14:24 ` Daniel Bünzli
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=CACLX4jTiLGbCTeMwT0gnms4dx7mVvXNtVr1-kMYSDon3MhU+pg@mail.gmail.com \
--to=yminsky@janestreet.com \
--cc=caml-list@inria.fr \
--cc=daniel.buenzli@erratique.ch \
/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