The dynamic-linker-template package

[Tags: bsd3, library]

This package uses Template Haskell to generate dynamic linking FFI methods from a data by using its field names. A load function is generated to create an instance of the data from a library path.

Optional symbols are supported (use Maybe types in the data structure).

A String->String method can be provided to deal with symbols whose names are not exactly the same as field names.

See https://github.com/hsyl20/dynamic-linker-template/blob/master/Tests/Test.hs for an example.


Properties

Versions0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4
Dependenciesbase (==4.6.*), containers (==0.5.0.*), template-haskell (==2.8.*), unix (==2.6.*)
LicenseBSD3
AuthorSylvain HENRY
Maintainerhsyl20@gmail.com
CategorySystem
Home pagehttp://github.com/hsyl20/dynamic-linker-template
Source repositoryhead: git clone git://github.com/hsyl20/dynamic-linker-template.git
Upload dateThu Oct 11 00:23:38 UTC 2012
Uploaded bySylvainHenry
Downloads280 total (33 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees