| Safe Haskell | None |
|---|
Language.Haskell.Formatter
Description
- data Configuration = Configuration {}
- defaultConfiguration :: Configuration
- data Error
- isAssertionError :: Error -> Bool
- defaultFormat :: String -> Either Error String
- format :: Configuration -> String -> Either Error String
- createStreamName :: String -> StreamName
- standardInput :: StreamName
- data StreamName
- type Indentation = Int
- data Style = Style {}
Documentation
data Configuration Source
Constructors
| Configuration | |
Fields | |
Instances
| Eq Configuration | |
| Ord Configuration | |
| Show Configuration |
isAssertionError :: Error -> BoolSource
defaultFormat :: String -> Either Error StringSource
format :: Configuration -> String -> Either Error StringSource
createStreamName :: String -> StreamNameSource
Creates a StreamName. show is guaranteed to return this string.
show (createStreamName s) == s
standardInput :: StreamNameSource
The standard input stream (stdin).
data StreamName Source
An informal reference to a data stream. For example, this could be the name of a file stream to be used in error messages.
Instances
| Eq StreamName | |
| Ord StreamName | |
| Show StreamName |
type Indentation = IntSource
Number of characters used to indent.
Constructors
| Style | |
Fields
| |