~jaro/balkon

ref: 4c1db0da368a4d8a2a33ab0d37deef45e99a54d2 balkon/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs -rw-r--r-- 673 bytes
4c1db0da β€” Jaro Test layout with mixed font sizes. 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- | 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"
module Data.Text.ParagraphLayout.ParagraphConstruction
{-# DEPRECATED "Use \"Data.Text.ParagraphLayout.Rich\" instead." #-}
    ( (>|)
    , (>|<)
    , (|<)
    , (|<>|)
    )
where

import Data.Text.ParagraphLayout.Internal.ParagraphConstruction