Liam O'Connor
University of New South Wales

About | Articles | Reading | Projects | Résumé

SprigHS
3rd April 2010

About

SPriG is a fork of the popular SDL Graphics library SGE written by Jonny D. It provides primitive drawing and transformation functions for SDL Surfaces.

This module provides bindings for use of this library with Haskell and HSSDL.

It is available from Hackage, and can be installed with:

cabal install Sprig

Haddock exists for the whole library, but hackage does not generate it as it lacks the SPriG C library and thus fails to build. If you have the SPriG C library, the library should build from Cabal okay. Documentation has been generated and made available here.

The latest version is guaranteed to be available from GitHub but all other guarantees such as stability disappear.

License

The bindings are released under the BSD3 license, however the C library itself is released under LGPL.