From: "blue storm" <bluestorm.dylc@gmail.com>
To: "Brighten Godfrey" <pbg@cs.berkeley.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Getting an element of a hashtable: simple ... or is it?
Date: Tue, 5 Aug 2008 14:25:09 +0200 [thread overview]
Message-ID: <527cf6bc0808050525x5d574e5ek4b7acbc4e114307e@mail.gmail.com> (raw)
In-Reply-To: <94C5D65F-7CA4-48FF-B4AA-E88E82F6C8E1@cs.berkeley.edu>
[-- Attachment #1: Type: text/plain, Size: 134 bytes --]
With Extlib you can use :
let get_one hashtbl = Enum.peek (Hashtbl.enum hashtbl)
val get_one : ('a, 'b) Hashtbl.t -> ('a * 'b) option
[-- Attachment #2: Type: text/html, Size: 182 bytes --]
next prev parent reply other threads:[~2008-08-05 12:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 12:05 Brighten Godfrey
2008-08-05 12:16 ` [Caml-list] " Richard Jones
2008-08-05 12:26 ` Brighten Godfrey
2008-08-05 12:25 ` blue storm [this message]
2008-08-05 21:47 ` Brighten Godfrey
2008-08-08 15:46 ` Ludovic Coquelle
2008-08-08 16:01 ` Peng Zang
2008-08-05 13:21 ` Peng Zang
2008-08-05 21:02 ` Chris Kauffman
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=527cf6bc0808050525x5d574e5ek4b7acbc4e114307e@mail.gmail.com \
--to=bluestorm.dylc@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=pbg@cs.berkeley.edu \
/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