~jaro/balkon

ref: a4ff73944e8ba02f82dbfa8c7aaff20ac438ba2c balkon/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs -rw-r--r-- 552 bytes
a4ff7394 β€” Jaro Remove (~) operator from ParagraphConstruction. 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- | Infix operators for construction of paragraphs with readable code.
--
-- Example construction:
-- @en = (,) SpanOptions { spanLanguage = "en" }@
-- @ja = (,) SpanOptions { spanLanguage = "ja" }@
-- @"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