haskell-formatter-2.0.3: Haskell source code formatter
Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Formatter

Description

 
Synopsis

Documentation

data Error Source #

Instances

Instances details
Eq Error Source # 
Instance details

Defined in Language.Haskell.Formatter.Error

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

Ord Error Source # 
Instance details

Defined in Language.Haskell.Formatter.Error

Methods

compare :: Error -> Error -> Ordering #

(<) :: Error -> Error -> Bool #

(<=) :: Error -> Error -> Bool #

(>) :: Error -> Error -> Bool #

(>=) :: Error -> Error -> Bool #

max :: Error -> Error -> Error #

min :: Error -> Error -> Error #

Show Error Source # 
Instance details

Defined in Language.Haskell.Formatter.Error

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

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.

type Indentation = Int Source #

Number of characters used to indent.

data Style Source #

Instances

Instances details
Eq Style Source # 
Instance details

Defined in Language.Haskell.Formatter.Style

Methods

(==) :: Style -> Style -> Bool #

(/=) :: Style -> Style -> Bool #

Ord Style Source # 
Instance details

Defined in Language.Haskell.Formatter.Style

Methods

compare :: Style -> Style -> Ordering #

(<) :: Style -> Style -> Bool #

(<=) :: Style -> Style -> Bool #

(>) :: Style -> Style -> Bool #

(>=) :: Style -> Style -> Bool #

max :: Style -> Style -> Style #

min :: Style -> Style -> Style #

Show Style Source # 
Instance details

Defined in Language.Haskell.Formatter.Style

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #