stylish-haskell-0.14.5.0: Haskell code prettifier
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.Stylish.Step.LanguagePragmas

Contents

Synopsis

Documentation

data Style Source #

Instances

Instances details
Show Style Source # 
Instance details

Defined in Language.Haskell.Stylish.Step.LanguagePragmas

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #

Eq Style Source # 
Instance details

Defined in Language.Haskell.Stylish.Step.LanguagePragmas

Methods

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

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

Utilities

addLanguagePragma :: String -> String -> Module -> Edits Source #

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