prettyprinter-combinators-0.1.3: Some useful combinators for the prettyprinter package
Copyright(c) Sergey Vinokurov 2018
LicenseApache-2.0 (see LICENSE)
Maintainerserg.foo@gmail.com
Safe HaskellSafe-Inferred
LanguageGHC2021

Prettyprinter.MetaDoc

Description

 

Documentation

data DocKind Source #

Constructors

Atomic 
Composite 

Instances

Instances details
Monoid DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Semigroup DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Bounded DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Enum DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Eq DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Methods

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

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

Ord DocKind Source # 
Instance details

Defined in Prettyprinter.MetaDoc

data MetaDoc ann Source #

Instances

Instances details
Monoid (MetaDoc ann) Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Methods

mempty :: MetaDoc ann #

mappend :: MetaDoc ann -> MetaDoc ann -> MetaDoc ann #

mconcat :: [MetaDoc ann] -> MetaDoc ann #

Semigroup (MetaDoc ann) Source # 
Instance details

Defined in Prettyprinter.MetaDoc

Methods

(<>) :: MetaDoc ann -> MetaDoc ann -> MetaDoc ann #

sconcat :: NonEmpty (MetaDoc ann) -> MetaDoc ann #

stimes :: Integral b => b -> MetaDoc ann -> MetaDoc ann #

mdPayload :: MetaDoc ann -> Doc ann Source #