-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | ATS scripts for Cabal builds -- -- This package contains various scripts that go in a package's -- Setup.hs to make building libraries with ATS dependencies -- easier. @package ats-setup @version 0.4.0.2 module System.Process.Ext silentCreateProcess :: CreateProcess -> IO () module Distribution.ATS cleanATSCabal :: IO () -- | 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 atsUserHooks :: [ATSDependency] -> UserHooks -- | Same as atsUserHooks, but installs atslib as well. atsLibUserHooks :: [ATSDependency] -> UserHooks fetchDependencies :: ConfigFlags -> [ATSDependency] -> IO () -- | ATS library version to use, e.g. [0,3,8] for 0.3.8. type ATSVersion = [Integer] data ATSDependency ATSDependency :: String -> FilePath -> String -> ATSDependency -- | Library name [_libName] :: ATSDependency -> String -- | Directory to unpack library into [_filepath] :: ATSDependency -> FilePath -- | URL of tarball containing ATS library. [_url] :: ATSDependency -> String -- | GMP bindings for ATS libgmp :: ATSDependency -- | Arbitrary-precision arithmetic library for ATS intinf :: ATSDependency -- | ATS prelude atsPrelude :: ATSVersion -> ATSDependency atsContrib :: ATSVersion -> ATSDependency fetchCompiler :: Maybe FilePath -> Version -> IO () setupCompiler :: Maybe FilePath -> Version -> IO () packageCompiler :: FilePath -> IO ()