implicit-hie-0.1.1.0: Auto generate hie-bios cradles & hie.yaml

Safe HaskellSafe
LanguageHaskell2010

Hie.Cabal.Parser

Synopsis

Documentation

type Name = Text Source #

type Path = Text Source #

data Package Source #

Constructors

Package Name [Component] 
Instances
Eq Package Source # 
Instance details

Defined in Hie.Cabal.Parser

Methods

(==) :: Package -> Package -> Bool #

(/=) :: Package -> Package -> Bool #

Ord Package Source # 
Instance details

Defined in Hie.Cabal.Parser

Show Package Source # 
Instance details

Defined in Hie.Cabal.Parser

data CompType Source #

Constructors

Lib 
Exe 
Test 
Bench 
Instances
Eq CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

Ord CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

Show CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

optSkipToNextLine :: Indent -> Parser () Source #

Skip spaces and if enf of line is reached, skip it as well and require that next one starts with indent.

Used for parsing fields.

parseList :: Indent -> Parser [Text] Source #

Comma or space separated list, with optional new lines.

pathMain :: Indent -> [Text] -> Text -> [Text] -> [Text] -> Parser [Text] Source #

(<//>) :: Text -> Text -> Text infixr 5 Source #

field :: Indent -> Text -> (Indent -> Parser a) -> Parser a Source #

indent :: Indent -> Parser Int Source #

Skip at least n spaces