Safe Haskell | None |
---|---|
Language | Haskell98 |
Language.Haskell.Stylish
- runSteps :: Extensions -> Maybe FilePath -> [Step] -> Lines -> Either String Lines
- simpleAlign :: Int -> Config -> Step
- imports :: Int -> Align -> Step
- languagePragmas :: Int -> Style -> Bool -> Bool -> Step
- tabs :: Int -> Step
- trailingWhitespace :: Step
- unicodeSyntax :: Bool -> Step
- data Align = Align {
- importAlign :: ImportAlign
- listAlign :: ListAlign
- longListAlign :: LongListAlign
- listPadding :: Int
- separateLists :: Bool
- data Style
- stepName :: Step -> String
- type Extensions = [String]
- data Config = Config {}
- 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
Run
Steps
Data types
Constructors
Align | |
Fields
|
Constructors
Vertical | |
Compact | |
CompactLine |
Helpers
Config
type Extensions = [String] Source #
Constructors
Config | |
Fields
|
Misc
makeVerbose :: Bool -> Verbose Source #