The errno package
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.
|Dependencies||base, mtl [details]|
|Uploaded||Fri Jan 2 21:40:46 UTC 2009 by CreightonHogg|
|Downloads||346 total (5 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees