spago-0.21.0
Safe HaskellNone
LanguageHaskell2010

Spago.Purs

Synopsis

Documentation

compile :: (HasPurs env, HasLogFunc env) => [SourcePath] -> [PursArg] -> RIO env () #

repl :: HasPurs env => [SourcePath] -> [PursArg] -> RIO env () #

docs :: HasLogFunc env => DocsFormat -> [SourcePath] -> RIO env () #

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 #

Constructors

Html 
Markdown 
Ctags 
Etags 

Instances

Instances details
Eq DocsFormat # 
Instance details

Defined in Spago.Purs

newtype ModuleGraph #

Instances

Instances details
FromJSON ModuleGraph # 
Instance details

Defined in Spago.Types

data ModuleGraphNode #

Instances

Instances details
FromJSON ModuleGraphNode # 
Instance details

Defined in Spago.Types

Generic ModuleGraphNode # 
Instance details

Defined in Spago.Types

Associated Types

type Rep ModuleGraphNode 
Instance details

Defined in Spago.Types

type Rep ModuleGraphNode = D1 ('MetaData "ModuleGraphNode" "Spago.Types" "spago-0.21.0-7wZ2i2dSXT92RnTwenz8EK" 'False) (C1 ('MetaCons "ModuleGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphNodePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "graphNodeDepends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleName])))
type Rep ModuleGraphNode # 
Instance details

Defined in Spago.Types

type Rep ModuleGraphNode = D1 ('MetaData "ModuleGraphNode" "Spago.Types" "spago-0.21.0-7wZ2i2dSXT92RnTwenz8EK" 'False) (C1 ('MetaCons "ModuleGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphNodePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "graphNodeDepends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleName])))