From: Markus Mottl <mottl@miss.wu-wien.ac.at>
To: bernardp@cli.di.unipi.it (Pierpaolo Bernardi)
Cc: caml-list@inria.fr (OCAML)
Subject: Re: Okasaki's "Purely Functional Data Structures" translated to
Date: Wed, 20 Jan 1999 01:34:22 +0100 (MET) [thread overview]
Message-ID: <199901200034.BAA07959@miss.wu-wien.ac.at> (raw)
In-Reply-To: <Pine.GSO.4.00.9901191822100.8220-100000@carlotta.cli.di.unipi.it> from "Pierpaolo Bernardi" at Jan 19, 99 06:27:51 pm
Hello,
> I have translated the Random Access List structure, and have
> written equivalents for most of the Ocaml list library functions.
>
> If you wish, I'll send what I have done to you.
>
> I would have liked to translate more of the code, but I am still waiting
> for the book to arrive (I have ordered it several months ago).
As it seems, Okasaki's book is out-of-print at the moment - by some
miracle I was able to get one at our university book shop.
But you need not necessarily wait for the book to get the sources. The
SML- and Haskell-version can be downloaded from his site at:
http://www.cs.columbia.edu/~cdo/papers.html
It would be really nice to get your implementations of data structures.
I have not yet come to the Random Access List, although it is certainly
one of the funnier data structures: random access to elements of lists
in O(log n) - I like that!
Until now, OCAML's standard library only contains the most basic data
structures. I am sure many people would like to see some more to choose
from.
As someone has already mentioned, the interfaces of the modules in the
sources are everything else but "fat". They support basic functionality
only. But it shouldn't be too difficult to add some further functions
to make things comfortable - the really tricky things are already mostly
implemented (though, hidden behind module interfaces).
Porting the sources is not difficult - should be possible for people
with basic knowledge in OCAML. I have not yet used SML, but it's (nearly)
always clear, what has to be changed.
Regards,
Markus Mottl
--
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
next parent reply other threads:[~1999-01-20 12:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSO.4.00.9901191822100.8220-100000@carlotta.cli.di.unipi.it>
1999-01-20 0:34 ` Markus Mottl [this message]
1999-01-20 17:06 ` Pierpaolo Bernardi
[not found] <199901211455.PAA32009@miss.wu-wien.ac.at>
1999-01-22 11:34 ` Pierpaolo Bernardi
1999-01-23 17:56 ` Markus Mottl
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=199901200034.BAA07959@miss.wu-wien.ac.at \
--to=mottl@miss.wu-wien.ac.at \
--cc=bernardp@cli.di.unipi.it \
--cc=caml-list@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