Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic.Document.AnsiText
Contents
Synopsis
- newtype AnsiText d = AnsiText {
- unAnsiText :: Reader [SGR] d
- ansiText :: AnsiText d -> AnsiText d
- runAnsiText :: AnsiText d -> d
- ansiTextSGR :: Semigroup d => From [SGR] d => SGR -> AnsiText d -> AnsiText d
- newtype PlainText d = PlainText {
- unPlainText :: d
- plainText :: PlainText d -> PlainText d
- runPlainText :: PlainText d -> d
- plainTextSGR :: Semigroup d => PlainText d -> PlainText d
Type
AnsiText
Constructors
AnsiText | |
Fields
|
Instances
runAnsiText :: AnsiText d -> d Source #
Type
PlainText
Drop Colorable16
and Decorable
.
Constructors
PlainText | |
Fields
|
Instances
runPlainText :: PlainText d -> d Source #