From: "Jean-Christophe Filliâtre" <Jean-Christophe.Filliatre@lri.fr>
To: Jon Harrop <jon@ffconsultancy.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Tries are to sequences as ? is to trees
Date: Sat, 26 Apr 2008 09:36:18 +0200 [thread overview]
Message-ID: <4812DB72.2080000@lri.fr> (raw)
In-Reply-To: <200804260220.04921.jon@ffconsultancy.com>
Jon Harrop a écrit :
> So tries let us associate sequences with values. What data structure lets us
> associate trees with values?
In Okasaki's book, there is a Section 10.3.2 "Generalized Tries" which
addresses exactly this problem. The solution proposed is more efficient
than building the list of elements with fold.
--
Jean-Christophe Filliâtre
http://www.lri.fr/~filliatr/
prev parent reply other threads:[~2008-04-26 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-26 1:20 Jon Harrop
2008-04-26 6:58 ` [Caml-list] " Christophe Raffalli
2008-04-26 7:36 ` Jean-Christophe Filliâtre [this message]
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=4812DB72.2080000@lri.fr \
--to=jean-christophe.filliatre@lri.fr \
--cc=caml-list@yquem.inria.fr \
--cc=jon@ffconsultancy.com \
/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;
as well as URLs for NNTP newsgroup(s).