Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
AnsiText | |
|
Instances
runAnsiText :: AnsiText d -> d Source #
Type PlainText
Drop Colorable16
and Decorable
.
PlainText | |
|
Instances
runPlainText :: PlainText d -> d Source #