stylish-haskell-0.6.5.0: Haskell code prettifier

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Stylish.Step.LanguagePragmas

Contents

Synopsis

Documentation

data Style Source #

Constructors

Vertical 
Compact 
CompactLine 

Instances

Eq Style Source # 

Methods

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

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

Show Style Source # 

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #

step :: Int -> Style -> Bool -> Bool -> Step Source #

Utilities

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

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