cabal-fmt-0.1.5: Format .cabal files

Safe HaskellNone
LanguageHaskell2010

CabalFmt.Pragma

Synopsis

Documentation

data Pragma Source #

Instances
Show Pragma Source # 
Instance details

Defined in CabalFmt.Pragma

data GlobalPragma Source #

Pragmas affecting global output

Instances
Show GlobalPragma Source # 
Instance details

Defined in CabalFmt.Pragma

parsePragma :: ByteString -> Either String (Maybe Pragma) Source #

Parse pragma from ByteString.

An error (Left) is reported only if input ByteString starts with -- cabal-fmt:.