The hsc2hs package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


The hsc2hs program can be used to automate some parts of the process of writing Haskell bindings to C code. It reads an almost-Haskell source file 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 provide Haskell counterparts of C types, values of C constants, including sizes of C types, and access to fields of C structs.

For more details, see


Versions0.67.20061107, 0.67.20120610, 0.68, 0.68, 0.68.1
Change logNone available
Dependenciesbase (==4.*), containers (>=0.2 && <0.6), directory (>=1 && <1.3), filepath (>=1 && <1.5), process (>=1.1 && <1.5) [details]
Copyright2000, Marcin Kowalczyk
AuthorMarcin Kowalczyk <>
Bug tracker
UploadedTue Apr 19 11:55:54 UTC 2016 by HerbertValerioRiedel


Maintainers' corner

For package maintainers and hackage trustees