From: tmp123 <tmp123@menta.net>
To: caml-list@yquem.inria.fr
Subject: Hashtbl: get first n keys
Date: Tue, 11 Dec 2007 09:57:10 +0100 [thread overview]
Message-ID: <475E50E6.4060501@menta.net> (raw)
Hello,
Please, could someone suggest a way to get "n" keys of a hash table? No
order nor other restriction about the keys, just "n " keys existing in
the table.
A method based on "iter" and raise and exception when limit is reached
seems possible, but could be there are better options.
Thanks a lot.
next reply other threads:[~2007-12-11 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-11 8:57 tmp123 [this message]
2007-12-11 15:40 ` [Caml-list] " Fabrice Marchant
2007-12-11 15:42 ` Fabrice Marchant
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=475E50E6.4060501@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