stylish-haskell-0.12.2.0: Haskell code prettifier

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Stylish.Step.LanguagePragmas

Contents

Synopsis

Documentation

data Style Source #

Constructors

Vertical 
Compact 
CompactLine 
Instances
Eq Style Source # 
Instance details

Defined in Language.Haskell.Stylish.Step.LanguagePragmas

Methods

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

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

Show Style Source # 
Instance details

Defined in Language.Haskell.Stylish.Step.LanguagePragmas

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #

Utilities

addLanguagePragma :: String -> String -> Module -> [Change String] Source #

Add a LANGUAGE pragma to a module if it is not present already.