Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Version :: * = Version [Integer]
- data ATSDependency = ATSDependency {}
- libgmp :: Version -> ATSDependency
- intinf :: Version -> ATSDependency
- atsPrelude :: Version -> ATSDependency
- atsContrib :: Version -> ATSDependency
- cabalHooks :: UserHooks
- atsUserHooks :: [ATSDependency] -> UserHooks
- atsPolyglotBuild :: IO ()
Types
data ATSDependency Source #
Libraries
libgmp :: Version -> ATSDependency Source #
GMP bindings for ATS
intinf :: Version -> ATSDependency Source #
Arbitrary-precision arithmetic library for ATS
atsPrelude :: Version -> ATSDependency Source #
ATS prelude
atsContrib :: Version -> ATSDependency Source #
Cabal helper functions
cabalHooks :: UserHooks Source #
This uses the users hooks as is simpleUserHooks
, modified to build the
ATS library.
:: [ATSDependency] | List of ATS dependencies |
-> UserHooks |
This generates user hooks for a Cabal distribution that has some ATS library dependencies. This will *not* do anything with the ATS source files, but it *will* download any files necessary for the bundled C to compile.
atsPolyglotBuild :: IO () Source #
Use this in place of defaultMain
for a simple build.