-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Haskell code prettifier
--   
--   A Haskell code prettifier. For more information, see:
--   
--   
--   <a>https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown</a>
@package stylish-haskell
@version 0.8.1.0

module Language.Haskell.Stylish.Step.Tabs
step :: Int -> Step

module Language.Haskell.Stylish.Step.TrailingWhitespace
step :: Step

module Language.Haskell.Stylish.Step.Imports
data Options
Options :: ImportAlign -> ListAlign -> Bool -> LongListAlign -> EmptyListAlign -> ListPadding -> Bool -> Bool -> Options
[importAlign] :: Options -> ImportAlign
[listAlign] :: Options -> ListAlign
[padModuleNames] :: Options -> Bool
[longListAlign] :: Options -> LongListAlign
[emptyListAlign] :: Options -> EmptyListAlign
[listPadding] :: Options -> ListPadding
[separateLists] :: Options -> Bool
[spaceSurround] :: Options -> Bool
defaultOptions :: Options
data ImportAlign
Global :: ImportAlign
File :: ImportAlign
Group :: ImportAlign
None :: ImportAlign
data ListAlign
NewLine :: ListAlign
WithAlias :: ListAlign
AfterAlias :: ListAlign
data LongListAlign
Inline :: LongListAlign
InlineWithBreak :: LongListAlign
InlineToMultiline :: LongListAlign
Multiline :: LongListAlign
data EmptyListAlign
Inherit :: EmptyListAlign
RightAfter :: EmptyListAlign
data ListPadding
LPConstant :: Int -> ListPadding
LPModuleName :: ListPadding
step :: Int -> Options -> Step
instance GHC.Classes.Ord l => GHC.Classes.Ord (Language.Haskell.Stylish.Step.Imports.ImportEntity l)
instance GHC.Classes.Eq l => GHC.Classes.Eq (Language.Haskell.Stylish.Step.Imports.ImportEntity l)
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.Options
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.Options
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.LongListAlign
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.LongListAlign
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.EmptyListAlign
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.EmptyListAlign
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.ListAlign
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.ListAlign
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.ImportAlign
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.ImportAlign
instance GHC.Show.Show Language.Haskell.Stylish.Step.Imports.ListPadding
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.Imports.ListPadding
instance GHC.Classes.Ord l => GHC.Base.Monoid (Language.Haskell.Stylish.Step.Imports.ImportPortion l)
instance Data.Aeson.Types.FromJSON.FromJSON Language.Haskell.Stylish.Step.Imports.ListPadding

module Language.Haskell.Stylish.Step.LanguagePragmas
data Style
Vertical :: Style
Compact :: Style
CompactLine :: Style
step :: Int -> Style -> Bool -> Bool -> Step

-- | Add a LANGUAGE pragma to a module if it is not present already.
addLanguagePragma :: String -> Module SrcSpanInfo -> [Change String]
instance GHC.Show.Show Language.Haskell.Stylish.Step.LanguagePragmas.Style
instance GHC.Classes.Eq Language.Haskell.Stylish.Step.LanguagePragmas.Style

module Language.Haskell.Stylish.Step.UnicodeSyntax
step :: Bool -> Step

module Language.Haskell.Stylish.Step.SimpleAlign
data Config
Config :: !Bool -> !Bool -> !Bool -> Config
[cCases] :: Config -> !Bool
[cTopLevelPatterns] :: Config -> !Bool
[cRecords] :: Config -> !Bool
defaultConfig :: Config
step :: Int -> Config -> Step
instance GHC.Show.Show Language.Haskell.Stylish.Step.SimpleAlign.Config

module Language.Haskell.Stylish
runSteps :: Extensions -> Maybe FilePath -> [Step] -> Lines -> Either String Lines
simpleAlign :: Int -> Config -> Step
imports :: Int -> Options -> Step
languagePragmas :: Int -> Style -> Bool -> Bool -> Step
tabs :: Int -> Step
trailingWhitespace :: Step
unicodeSyntax :: Bool -> Step
stepName :: Step -> String
type Extensions = [String]
data Config
Config :: [Step] -> Int -> [String] -> Newline -> Config
[configSteps] :: Config -> [Step]
[configColumns] :: Config -> Int
[configLanguageExtensions] :: Config -> [String]
[configNewline] :: Config -> Newline
defaultConfigFilePath :: IO FilePath
configFilePath :: Verbose -> Maybe FilePath -> IO FilePath
loadConfig :: Verbose -> Maybe FilePath -> IO Config
type Verbose = String -> IO ()
makeVerbose :: Bool -> Verbose
version :: Version
type Lines = [String]
data Step
