stylish-haskell-0.8.1.0: Haskell code prettifier
Language.Haskell.Stylish.Step.LanguagePragmas
Contents
Synopsis
data Style #
Constructors
Instances
Methods
(==) :: Style -> Style -> Bool #
(/=) :: Style -> Style -> Bool #
showsPrec :: Int -> Style -> ShowS #
show :: Style -> String #
showList :: [Style] -> ShowS #
step :: Int -> Style -> Bool -> Bool -> Step #
addLanguagePragma :: String -> Module SrcSpanInfo -> [Change String] #
Add a LANGUAGE pragma to a module if it is not present already.