Safe Haskell | None |
---|---|
Language | Haskell2010 |
Applies the cabal-fmt
formatter.
Synopsis
Documentation
formatAction :: FileContent -> FormattingResult FileContent Source #
Formatting action; defers to a unsafePerformIO
action.
formatActionIO :: FileContent -> IO (FormattingResult FileContent) Source #
Formatting action in IO
.
checkForCabalFmt :: IO (Either ErrorMessage ()) Source #
Check for the cabal-fmt
executable, producing an error message if it is
not installed.
pfCabal :: PathFilter Source #
A PathFilter
for .cabal
files.