| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.ATS.Package
- pkgToAction :: [IO ()] -> [String] -> Maybe String -> Pkg -> Rules ()
- build :: [String] -> IO ()
- buildAll :: Maybe FilePath -> IO ()
- check :: Maybe FilePath -> IO Bool
- mkPkg :: Bool -> Bool -> [IO ()] -> [String] -> Maybe String -> Int -> IO ()
- cleanAll :: IO ()
- fetchDeps :: CCompiler -> [IO ()] -> [String] -> [String] -> [String] -> FilePath -> Bool -> IO ()
- buildHelper :: Bool -> ATSDependency -> IO ()
- checkPkg :: FilePath -> Bool -> IO ATSDependency
- displayList :: String -> IO ()
- upgradeBin :: String -> String -> IO ()
- cabalHooks :: UserHooks
- newtype Version :: * = Version [Integer]
- data Pkg = Pkg {}
- data Bin = Bin {}
- data Lib = Lib {}
- data ATSConstraint = ATSConstraint {}
- data ATSDependency = ATSDependency {
- libName :: Text
- dir :: Text
- url :: Text
- description :: Maybe Text
- libVersion :: Version
- libDeps :: [LibDep]
- libBldDeps :: [LibDep]
- data TargetPair = TargetPair {}
- data ForeignCabal :: * = ForeignCabal {
- projectFile :: Maybe Text
- cabalFile :: Text
- objectFile :: Text
- newtype ATSPackageSet = ATSPackageSet {
- _atsPkgSet :: [ATSDependency]
- type LibDep = (Text, ATSConstraint)
- type DepSelector = ATSDependency -> [LibDep]
- data PackageError
- dirLens :: Lens' ATSDependency Text
Documentation
buildHelper :: Bool -> ATSDependency -> IO () Source #
Arguments
| :: FilePath | Path to |
| -> Bool | Whether to print detailed error messages. |
| -> IO ATSDependency |
Ecosystem functionality
displayList :: String -> IO () Source #
Cabal helper functions
Types
Data type associated with atspkg.dhall file.
Constructors
| Pkg | |
Fields
| |
Constructors
| Bin | |
Fields
| |
Constructors
| Lib | |
Fields
| |
data ATSConstraint Source #
Instances
data ATSDependency Source #
Type for a dependency
Constructors
| ATSDependency | |
Fields
| |
Instances
data TargetPair Source #
This is just a tuple, except I can figure out how to use it with Dhall.
Instances
data ForeignCabal :: * #
Data type containing information about Haskell components of a build.
Constructors
| ForeignCabal | |
Fields
| |
Instances
newtype ATSPackageSet Source #
Constructors
| ATSPackageSet | |
Fields
| |
Instances
type LibDep = (Text, ATSConstraint) Source #
type DepSelector = ATSDependency -> [LibDep] Source #
You likely want $sel:libDeps:ATSDependency or $sel:libBldDeps:ATSDependency