FICHA · MANJARO

c2hs

C->Haskell FFI tool that gives some cross-language type safety

  • cli-tool
  • CLI
  • CODE-GENERATOR
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 27, 2026 description in en

Description

Generates Haskell foreign-function interface bindings from C headers while preserving more type information than manual bindings. It helps Haskell programs call C libraries with less repetitive glue code.

Use it when a Haskell project depends on c2hs or when creating bindings to C APIs. Generated bindings still need tests against the real C library.

How to run

c2hs

Commands: c2hs

Permissions

Permissions not analysed for this source yet.