Описание тега hsc2hs
NoneHsc2hs is used to write Haskell interfaces to C code. The hsc2hs command can be used to automate some parts of the process of writing Haskell bindings to C code.
The hsc2hs command can be used to automate some parts of the process of writing Haskell bindings to C code. It reads an almost-Haskell source with embedded special constructs, and outputs a real Haskell file with these constructs processed, based on information taken from some C headers. The extra constructs deal with accessing C data from Haskell...
Read more here: Writing Haskell interfaces to C code: hsc2hs
The source code can be looked at here: http://git.haskell.org/packages/hsc2hs.git
(It is mirrored on github here)