-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell source code formatter -- -- Inspired by gofmt. Built using hlint, hindent, and stylish-haskell. @package hfmt @version 0.2.2 module Language.Haskell.Source.Enumerator enumeratePath :: FilePath -> ConduitT () FilePath IO () module Language.Haskell.Format autoSettings :: IO Settings format :: Formatter -> HaskellSource -> Either String Reformatted formatters :: Settings -> IO [Formatter] hlint :: Settings -> IO Formatter hindent :: Settings -> IO Formatter stylish :: Settings -> IO Formatter data Settings newtype Formatter Formatter :: (HaskellSource -> Either ErrorString Reformatted) -> Formatter [unFormatter] :: Formatter -> HaskellSource -> Either ErrorString Reformatted newtype Suggestion Suggestion :: String -> Suggestion data HaskellSource HaskellSource :: FilePath -> String -> HaskellSource data Reformatted Reformatted :: HaskellSource -> [Suggestion] -> Reformatted [reformattedSource] :: Reformatted -> HaskellSource [suggestions] :: Reformatted -> [Suggestion] module Language.Haskell.Format.Utilities defaultFormatter :: IO Formatter hunitTest :: FilePath -> Test showDiff :: HaskellSource -> HaskellSource -> String wasReformatted :: HaskellSource -> Reformatted -> Bool