implicit-hie-0.1.4.0: Auto generate hie-bios cradles & hie.yaml
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hie.Cabal.Parser

Synopsis

Documentation

type Name = Text Source #

type Path = Text Source #

data Package Source #

Constructors

Package Name [Component] 

Instances

Instances details
Show Package Source # 
Instance details

Defined in Hie.Cabal.Parser

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

data CompType Source #

Constructors

Lib 
Exe 
Test 
Bench 

Instances

Instances details
Show CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

Eq CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

Ord CompType Source # 
Instance details

Defined in Hie.Cabal.Parser

data Component Source #

Constructors

Comp CompType Name Path 

Instances

Instances details
Show Component Source # 
Instance details

Defined in Hie.Cabal.Parser

Eq Component Source # 
Instance details

Defined in Hie.Cabal.Parser

Ord Component Source # 
Instance details

Defined in Hie.Cabal.Parser

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