FFI domain specific language, on top of hsc2hs
This is a set of macros to be used when writing Haskell FFI. They were designed to be able to fully describe C interfaces, so that hsc2hs
can extract from them all Haskell code needed to mimic such interfaces. All Haskell names used are automatically derived from C names, structures are mapped to Haskell instances of Storable
, and there are also macros you can use with C code to help write bindings to inline functions or macro functions.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/8vsw9a7r2k3xjazbpq788skv03mm2qld-ghc-bindings-dsl-1.0.25.drv | ||
mips64el-linux | /gnu/store/9fgyh5kfr4c9r7pzjhq6dii5q4pi938a-ghc-bindings-dsl-1.0.25.drv | ||
i686-linux | /gnu/store/c9xhwia4i7wbmsm7bqmg7n5689dsxlyb-ghc-bindings-dsl-1.0.25.drv | ||
armhf-linux | /gnu/store/hssfga2ppvlvr49d7zfar532mdagnymb-ghc-bindings-dsl-1.0.25.drv | ||
aarch64-linux | /gnu/store/7nm0n07xlpjwszkrr73knal6y6p693zz-ghc-bindings-dsl-1.0.25.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |