C includes in packages?

Don Stewart dons at galois.com
Thu Jul 9 13:35:38 EDT 2009


briqueabraque:
> Is it possible to provide a C header in a cabal
> package? Maybe as a template for hs2c? I would
> like to include a few macros in a base package
> so that all dependent packages could use then to
> implement C code.

Yes, certainly. Many packages on hackage include both .h and .c files.


More information about the Libraries mailing list