The c2hs package

[Tags: gpl, program]

C->Haskell assists in the development of Haskell bindings to C libraries. It extracts interface information from C header files and generates Haskell code with foreign imports and marshaling. Unlike writing foreign imports by hand (or using hsc2hs), this ensures that C functions are imported with the correct Haskell types.


Versions0.15.0, 0.15.1, 0.16.0, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.16.6, 0.17.1, 0.17.2, 0.18.1, 0.18.2, 0.19.1, 0.20.1
Dependenciesbase (==2.*), dlist, filepath, language-c (>=0.4.7 && <0.5) or
array, base (>=3 && <5), containers, directory, dlist, filepath, language-c (>=0.4.7 && <0.5), pretty, process
CopyrightCopyright (c) 1999-2007 Manuel M T Chakravarty 2005-2013 Duncan Coutts 2008 Benedikt Huber
AuthorManuel M T Chakravarty,,
Home page
Bug tracker
Source repositoryhead: git clone git://
Executablesregression-suite, c2hs
UploadedThu Dec 4 09:09:47 UTC 2014 by IanRoss
DistributionsDebian:0.17.2, FreeBSD:0.16.4, NixOS:0.20.1, Stackage:0.20.1
Downloads10182 total (579 in last 30 days)
StatusDocs pending
Build status unknown [no reports yet]


travisEnable regression suite build for Travis-CI.Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees