Safe Haskell | None |
---|---|
Language | Haskell2010 |
Spago.Purs
Synopsis
- compile :: (HasPurs env, HasLogFunc env) => [SourcePath] -> [PursArg] -> RIO env ()
- graph :: (HasPurs env, HasLogFunc env) => [SourcePath] -> RIO env (Either Text ModuleGraph)
- repl :: HasPurs env => [SourcePath] -> [PursArg] -> RIO env ()
- bundle :: HasLogFunc env => WithMain -> WithSrcMap -> ModuleName -> TargetPath -> RIO env ()
- docs :: HasLogFunc env => DocsFormat -> [SourcePath] -> RIO env ()
- pursVersion :: RIO env (Either Text SemVer)
- hasMinPursVersion :: (HasLogFunc env, HasPurs env) => Text -> RIO env Bool
- parseDocsFormat :: Text -> Maybe DocsFormat
- findFlag :: Char -> Text -> [PursArg] -> Maybe Text
- data DocsFormat
- newtype ModuleGraph = ModuleGraph {}
- data ModuleGraphNode = ModuleGraphNode {}
Documentation
compile :: (HasPurs env, HasLogFunc env) => [SourcePath] -> [PursArg] -> RIO env () #
graph :: (HasPurs env, HasLogFunc env) => [SourcePath] -> RIO env (Either Text ModuleGraph) #
bundle :: HasLogFunc env => WithMain -> WithSrcMap -> ModuleName -> TargetPath -> RIO env () #
docs :: HasLogFunc env => DocsFormat -> [SourcePath] -> RIO env () #
hasMinPursVersion :: (HasLogFunc env, HasPurs env) => Text -> RIO env Bool #
parseDocsFormat :: Text -> Maybe DocsFormat #
findFlag :: Char -> Text -> [PursArg] -> Maybe Text #
Try to find the content of a certain flag in a list of PursArgs See tests in: testSpagoCommand/PathSpec.hs
data DocsFormat #
Instances
Eq DocsFormat # | |
Defined in Spago.Purs |
newtype ModuleGraph #
Constructors
ModuleGraph | |
Fields |
Instances
FromJSON ModuleGraph # | |
Defined in Spago.Types |
data ModuleGraphNode #
Constructors
ModuleGraphNode | |
Fields
|