a FFI utility

Latest on Hackage:0.1

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 to host generated Haddocks.

BSD3 licensed by Creighton Hogg
Maintained by

errno is a small utility to supplement the FFI. Many C functions will return a special Int if an error has occurred, and the withErrno* functions allow you to lift them into the ErrorT String transformer. I found this in some cases useful for when I wanted to handle errors from both C & Haskell on equal footing.

Depends on 2 packages:
Used by 1 package:
comments powered byDisqus