
bindings-* packages provide low level bindings to well known
foreign libraries like sqlite3 and libusb. They are supposed
to be used by high level module developers who needs special
functionality already available outside Haskell. Natural examples
of such modules would be higher level versions of such bindings.
bindings-common offers basic code that makes writing such packages
easier, and provide a common design standard.
http://hackage.haskell.org/package/bindings-common
The major new feature of this release is the availability of
hsc2hs custom macros, and a corresponding big reduction in code
size. As an example, the code below is all that is necessary to
write a Haskell version of a C struct, with Storable instance:
-- This is 'hostent' struct from posix
participants (1)
-
Maurício