haskell-formatter-1.0.0: Haskell source code formatter

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Formatter

Description

 

Synopsis

Documentation

data Error Source

Instances

format :: Configuration -> String -> Either Error String Source

createStreamName :: String -> StreamName Source

Creates a StreamName. show is guaranteed to return this string.

show (createStreamName s) == s

standardInput :: StreamName Source

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.