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