hindent-6.0.0: Extensible Haskell pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIndent.Pretty.Pragma

Description

Pretty-printing pragmas

Synopsis

Documentation

prettyPragmas :: HsModule -> Printer () Source #

This function pretty-prints the module's pragmas

pragmaExists :: HsModule -> Bool Source #

This function returns a True if the module has pragmas. Otherwise, it returns a False.

isPragma :: EpaCommentTok -> Bool Source #

This function returns a True if the passed EpaCommentTok is a pragma. Otherwise, it returns a False.