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.
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base, mtl |
| License | BSD3 |
| Author | Creighton Hogg |
| Maintainer | wchogg@gmail.com |
| Stability | experimental |
| Category | Foreign |
| Upload date | Fri Jan 2 21:40:46 UTC 2009 |
| Uploaded by | CreightonHogg |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0 |
Modules
- Foreign
- C
Downloads
- errno-0.1.tar.gz (Cabal source package)
- package description (included in the package)