From bf8d44a7375b24b541dc3b11827749c5b1091762 Mon Sep 17 00:00:00 2001 From: Jaro Date: Fri, 28 Apr 2023 20:08:02 +0200 Subject: [PATCH] Deprecate ParagraphConstruction. --- CHANGELOG.md | 2 ++ lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e94835..6b61709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ * Moved existing plain text interface into `Data.Text.ParagraphLayout.Plain` submodule and marked it as deprecated. +* Marked `Data.Text.ParagraphLayout.ParagraphConstruction` as deprecated. + * Input text spans can now have arbitrary user data attached to them. All related data types (`Paragraph`, `Span`, `Fragment`, `SpanLayout`, `ParagraphLayout`) have been extended with a type variable. diff --git a/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs b/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs index 469d9a4..39956ec 100644 --- a/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs +++ b/lib/Data/Text/ParagraphLayout/ParagraphConstruction.hs @@ -1,4 +1,5 @@ --- | Infix operators for construction of paragraphs with readable code. +-- | Infix operators for construction of legacy plain text paragraphs +-- with readable code. -- -- Example construction: -- @@ -10,6 +11,7 @@ -- -- > "ignored prefix" |<>| "ignored suffix" module Data.Text.ParagraphLayout.ParagraphConstruction +{-# DEPRECATED "Use \"Data.Text.ParagraphLayout.Rich\" instead." #-} ( (>|) , (>|<) , (|<) -- 2.30.2