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