columbia

Enhanced serialization for media that support seeking.

Latest on Hackage:0.1.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by James Candy

Libraries such as binary and cereal support sequential reading and writing but do not rely on any further operations. Many media support seeking in files as well. This library implements a file format that supports random access to data entities by seeking. It is an attempt to improve and extend the applicability of the object graph serialization concept.

This library enforces a strong concept of immutability in its interface; this has a number of benefits including sharing of substructure. Files in its format have a nominal mutable state that changes over discrete time steps, permitting strong reasoning. See Theory module for a basic equational theory. This work was inspired by Haskell's focus on immutability, and by the programming langauge Clojure's disciplined management of mutable state.

The database's store has been implemented over memory maps for speed, and is portable between Windows and Linux platforms. This library also uses the syb-with-class library to streamline implementation of serializers for various data entities, so that you don't have to write much boilerplate ;).

Release notes for version 0.1.1:

  • Changed the invariant surrounding how files are seeked for reading/writing procedures. This permits an additional optimization. See Utils module for details.

  • Generalized the interface to Utils locking strategies to arbitrary monads incorporating exceptions and I/O.

Release notes for version 0.1.2:

  • Minor bug fixes.

Release notes for version 0.1.3:

  • implemented additional functions specifically for handling dictionaries (Maps).

  • Added basic theory.

Changes

Revision history for columbia

0.1.0.0 -- YYYY-mm-dd

  • First version. Released on an unsuspecting world.

0.1.0.2

  • Some changes to fix installs on the Hackage server.
comments powered byDisqus