The Hs2lib package

[ Tags: bsd3, development, library, program ] [ Propose Tags ]

The supplied PreProcessor can be run over any existing source and would generate FFI code for every function marked to be exported by the special notation documented inside the package. It then proceeds to compile this generated code into a lib.

The Library contains some helper code that's commonly needed to convert between types, and contains the code for the typeclasses the PreProcessor uses in the generated code to keep things clean.

It will always generated the required C types for use when calling the dll, but it will also generate the C# unsafe code if requested.

Read (not published yet)

Current Restrictions:

NOTE: Package is not working again, but I have fixed the version of haskell-src-exts to prevent it from breaking again.


Versions 0.4.8, 0.5.0, 0.5.1, 0.5.2, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.6.0, 0.6.1, 0.6.3 (info)
Dependencies array (>=, base (==4.*), cereal (>=, containers (>=, directory (>=, filepath (>=, ghc (>=6.12 && <7.0 || >=7.0.2), ghc-paths (>=, haddock (>=2.7.2), haskell-src-exts (==1.13.5), mtl (>=, old-locale (>=, process (>=, QuickCheck (>=, random (>=, syb (>=, time (>= [details]
License BSD3
Author Tamar Christina <tamar (at)>
Maintainer Tamar Christina <tamar (at)>
Category Development
Home page
Uploaded Sat Jun 7 11:28:06 UTC 2014 by TamarChristina
Distributions NixOS:0.6.3
Executables Hs2lib-testgen, Hs2lib-debug, Hs2lib
Downloads 4536 total (103 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees