hs-bindgen: Generate Haskell bindings from C headers

[ bsd3, development, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Automatically generate Haskell bindings from C headers


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
dev

Build debugging utilities for developing hs-bindgen itself

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.2.1.0 && <2.3), ansi-terminal (>=1.0.0 && <1.2), array (>=0.5.4.0 && <0.6), base (>=4.17 && <4.23), base-compat (>=0.13.1 && <0.16), base16-bytestring (>=1.0.2.0 && <1.1), bytestring (>=0.11.4.0 && <0.13), c-expr-dsl (>=0.2 && <0.3), c-expr-runtime (>=0.1 && <0.2), containers (>=0.6.5.1 && <0.9), contra-tracer (>=0.2 && <0.3), cryptohash-sha256 (>=0.11.102.1 && <0.12), data-default (>=0.7 && <0.9), debruijn (>=0.3.1 && <0.4), deepseq (>=1.4 && <1.6), Diff (>=1.0 && <1.1), directory (>=1.3.6.2 && <1.4), doxygen-parser (>=0.1 && <0.2), edit-distance (>=0.2.2.1 && <0.3), exceptions (>=0.10 && <0.11), filepath (>=1.4 && <1.6), fin (>=0.3.2 && <0.4), hs-bindgen, hs-bindgen-runtime (>=1.0.0.0 && <1.1), language-c (>=0.9 && <0.11), libclang-bindings (>=0.2 && <0.3), mtl (>=2.2 && <2.4), optics-core (>=0.4 && <0.5), optparse-applicative (>=0.18 && <0.20), parsec (>=3.1 && <3.2), pretty (>=1.1.3.6 && <1.2), prettyprinter (>=1.7.1 && <1.8), primitive (>=0.9 && <0.10), process (>=1.6 && <1.7), regex-pcre-builtin (>=0.95 && <0.96), some (>=1.0.6 && <1.1), tasty (>=1.5 && <1.6), tasty-hunit (>=0.10.2 && <0.11), template-haskell (>=2.19 && <2.25), temporary (>=1.3 && <1.4), text (>=1.2 && <2.2), transformers (>=0.5 && <0.7), unliftio-core (>=0.2.1 && <0.3), utf8-string (>=1.0.2 && <1.1), vec (>=0.5 && <0.6), yaml (>=0.11.11.1 && <0.12) [details]
Tested with ghc ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1
License BSD-3-Clause
Author Well-Typed LLP
Maintainer info@well-typed.com
Uploaded by EdskoDeVries at 2026-10-08T10:39:52Z
Category Development
Source repo head: git clone https://github.com/well-typed/hs-bindgen(hs-bindgen)
this: git clone https://github.com/well-typed/hs-bindgen(tag release-1.0.0.0)(hs-bindgen)
Distributions
Executables clang-ast-dump, hs-bindgen-cli
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hs-bindgen-1.0.0.0

[back to package description]

hs-bindgen

hs-bindgen is a Haskell library that automatically generates Haskell FFI bindings from C header files.

See the repository README for the manual and other information.