ormolu-0.0.3.1: A formatter for Haskell source code

Safe HaskellNone
LanguageHaskell2010

Ormolu.Config

Description

Configuration options used by the tool.

Synopsis

Documentation

data Config Source #

Ormolu configuration.

Constructors

Config 

Fields

  • cfgDynOptions :: ![DynOption]

    Dynamic options to pass to GHC parser

  • cfgUnsafe :: !Bool

    Do formatting faster but without automatic detection of defects

  • cfgDebug :: !Bool

    Output information useful for debugging

  • cfgTolerateCpp :: !Bool

    Do not fail if CPP pragma is present (still doesn't handle CPP but useful for formatting of files that enable the extension without actually containing CPP macros)

  • cfgCheckIdempotency :: !Bool

    Checks if re-formatting the result is idempotent.

Instances
Eq Config Source # 
Instance details

Defined in Ormolu.Config

Methods

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

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

Show Config Source # 
Instance details

Defined in Ormolu.Config

newtype DynOption Source #

A wrapper for dynamic options.

Constructors

DynOption 

Fields

Instances
Eq DynOption Source # 
Instance details

Defined in Ormolu.Config

Ord DynOption Source # 
Instance details

Defined in Ormolu.Config

Show DynOption Source # 
Instance details

Defined in Ormolu.Config