Fri, 07 Dec 2001 11:38:04 -0300
a paper describing what a student and I did is in
The idea was to have a class supporting the persistence
operations (more in the style of serialization) and
to have specific data structures to allow
a quicker retrieval of the data ("Persistence Containers").
This is similar to what we have in some
Object Oriented Databases.
For the low level implementation we used the work on
Binary I/O work of Wallace/Runciman.
But in order to get more portability we reimplemented
parts of it using Strings/Chars for I/O,
which ended up very inneficient in Haskell.
Some things that might help are:
- better binary I/O and/or to interface with some low level
existing persistence mechanism.
- I believe a kind of reflection mechanism would
make things much easier and more efficient
Although automatic derivation of the instances
There are some other references in the paper.
> | -----Original Message-----
> | From: Vorin, Michael [mailto:email@example.com]
> | Sent: 07 December 2001 03:21
> | To: firstname.lastname@example.org
> | Subject: Haskell Persistence
> | I am interested in pursuing practical development of
> | persistence in Haskell. To this end I have been looking for
> | code/systems which have been developed previously to build
> | upon - not wishing to reinvent the wheel.
> | I have found some references in the literature but have been
> | enable to track down any "artefacts".
> | I was hopping someone could help me.
> | I have found:
> | (1) Efficient Persistent Haskell, Tony Davie, Kevin Hammond,
> | and Juan Quintela Division of Computer Science, University of
> | St Andrews, 1998
> | (2) Models for Persistence in Lazy Functional Programming
> | Systems, McNally, University of St Andrews, 1993.
> | (3) A Functional Database (1989) (Correct) Phil Trinder
> | (4) Two Models For Integrating Persistence and Lazy
> | Functional Languages
> | (1991) David J. McNally, Antony J.T. Davie
> | (5) Realizing State-Based Database Concepts in a Non-Strict,
> | Statically Typed, Purely Functional Persistent Programming
> | Language Yoshihiko Ichikawa Department of Information
> | Sciences, Ochanomizu University
> | _______________________________________________
> | Haskell mailing list
> | Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell