The Binding Generator C->Haskell : Installation : Compilation of a Generated Haskell API
Previous: Usage of `c2hs`
Next: Implementation of Haskell Binding Modules

## 1.5. Compilation of a Generated Haskell API

C->Haskell comes with a marshalling library, called `C2HS`, which needs to be explicitly imported into Haskell binding modules. The library contains functions that users might use explicitly, but also functions that C->Haskell will generate for some classes of bindings. The library takes the form of a single Haskell module, whose `c2hs` places in the same directory as the generated binding whenever it is given the `--copy-library` (or `-l`) option.

The Binding Generator C->Haskell : Installation : Compilation of a Generated Haskell API
Previous: Usage of `c2hs`
Next: Implementation of Haskell Binding Modules