Safe Haskell | None |
---|---|
Language | Haskell2010 |
- cleanATSCabal :: IO ()
- atsUserHooks :: [ATSDependency] -> UserHooks
- atsLibUserHooks :: [ATSDependency] -> UserHooks
- fetchDependencies :: ConfigFlags -> [ATSDependency] -> IO ()
- data Version :: *
- data ATSDependency = ATSDependency {}
- libgmp :: ATSDependency
- intinf :: ATSDependency
- atsPrelude :: Version -> ATSDependency
- atsContrib :: Version -> ATSDependency
- cabalHooks :: UserHooks
- atsPolyglotBuild :: IO ()
- fetchCompiler :: Maybe FilePath -> Version -> IO ()
- setupCompiler :: Maybe FilePath -> Version -> IO ()
- packageCompiler :: FilePath -> IO ()
Documentation
cleanATSCabal :: IO () Source #
atsUserHooks :: [ATSDependency] -> UserHooks Source #
This generates user hooks for a Cabal distribution that has some ATS
library dependencies. For an example of its use, see the Setup.hs
of
fast-arithmetic
atsLibUserHooks :: [ATSDependency] -> UserHooks Source #
Same as atsUserHooks
, but installs atslib
as well.
fetchDependencies :: ConfigFlags -> [ATSDependency] -> IO () Source #
Types
A Version
represents the version of a software entity.
Instances of Eq
and Ord
are provided, which gives exact
equality and lexicographic ordering of the version number
components (i.e. 2.1 > 2.0, 1.2.3 > 1.2.2, etc.).
This type is opaque and distinct from the Version
type in
Data.Version since Cabal-2.0
. The difference extends to the
Binary
instance using a different (and more compact) encoding.
Since: 2.0.0.2
data ATSDependency Source #
Libraries
libgmp :: ATSDependency Source #
GMP bindings for ATS
intinf :: ATSDependency Source #
Arbitrary-precision arithmetic library for ATS
atsPrelude :: Version -> ATSDependency Source #
ATS prelude
atsContrib :: Version -> ATSDependency Source #
Cabal helper functions
atsPolyglotBuild :: IO () Source #
Functions involving the compiler
packageCompiler :: FilePath -> IO () Source #