| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Text.ParagraphLayout.ParagraphConstruction
Description
Deprecated: Use Data.Text.ParagraphLayout.Rich instead.
Infix operators for construction of legacy plain text paragraphs with readable code.
Example construction:
let en = (,) defaultSpanOptions { spanLanguage = "en" }
ja = (,) defaultSpanOptions { spanLanguage = "ja" }
in "ignored prefix" |< en "one two " >|< ja "三四" >| "ignored suffix"Special syntax for paragraphs with no contents:
"ignored prefix" |<>| "ignored suffix"