From: tmp123@menta.net
To: caml-list@yquem.inria.fr
Subject: bijective association
Date: Sun, 05 Aug 2007 12:40:23 +0200 [thread overview]
Message-ID: <46B5A917.1090303@menta.net> (raw)
Hello,
Please, knows someone if there are any module who implements a bijective
association ( 'a <=> 'b)?
functions should be something like (assuming 't is the type of the
association):
add : 't -> 'a -> 'b -> 't
find_a : 't -> 'a -> 'b
find_b : 't -> 'b -> 'a
remove : 't -> 'a -> 't
...
If not, which one could be the best option: use two associative lists,
two maps, two hash tables or others?
Thanks a lot.
reply other threads:[~2007-08-05 10:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=46B5A917.1090303@menta.net \
--to=tmp123@menta.net \
--cc=caml-list@yquem.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