~jaro/balkon

ref: 462afb29bdb429483f49de96b857f6e94b2df2a5 balkon/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs -rw-r--r-- 565 bytes
462afb29 β€” Jaro Better format ParagraphConstruction documentation. 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- | Infix operators for construction of paragraphs with readable code.
--
-- Example construction:
--
-- > let en = (,) SpanOptions { spanLanguage = "en" }
-- >     ja = (,) SpanOptions { spanLanguage = "ja" }
-- > in "ignored prefix" |< en "one two " >|< ja "δΈ‰ε››" >| "ignored suffix"
--
-- Special syntax for paragraphs with no contents:
--
-- > "ignored prefix" |<>| "ignored suffix"
module Data.Text.ParagraphLayout.ParagraphConstruction
    ((>|)
    ,(>|<)
    ,(|<)
    ,(|<>|)
    )
where

import Data.Text.ParagraphLayout.Internal.ParagraphConstruction