haskell-formatter-0.1.0: Haskell source code formatter

Safe HaskellNone

Language.Haskell.Formatter

Description

 

Synopsis

Documentation

data Error Source

Instances

Eq Error 
Ord Error 
Show Error 

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

type Indentation = IntSource

Number of characters used to indent.