ormolu-0.1.4.1: A formatter for Haskell source code
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ormolu.Processing.Common

Description

Common definitions for pre- and post- processing.

Synopsis

Documentation

data OrmoluState Source #

Ormolu state.

Constructors

OrmoluEnabled

Enabled

OrmoluDisabled

Disabled

Instances

Instances details
Eq OrmoluState Source # 
Instance details

Defined in Ormolu.Processing.Common

Methods

(==) :: OrmoluState -> OrmoluState -> Bool

(/=) :: OrmoluState -> OrmoluState -> Bool

Show OrmoluState Source # 
Instance details

Defined in Ormolu.Processing.Common

Methods

showsPrec :: Int -> OrmoluState -> ShowS

show :: OrmoluState -> String

showList :: [OrmoluState] -> ShowS

startDisabling :: IsString s => s Source #

Marker for the beginning of the region where Ormolu should be disabled.

endDisabling :: IsString s => s Source #

Marker for the end of the region where Ormolu should be disabled.