diff options
| author | tv <tv@krebsco.de> | 2026-03-06 23:32:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-03-06 23:36:06 +0100 |
| commit | 18fffd492fe7134ef1cc53e1725d1709ddbde20b (patch) | |
| tree | 95a89458b1b7ebc67b02a53394609df5f095bd18 /src/TextViewport/Buffer | |
| parent | 7a9f03584573cbcef94a610e6aafa5d8be89722e (diff) | |
HyphenateSegments: Hyphenator -> Language
This way we don't need to define bad orphan instances.
Diffstat (limited to 'src/TextViewport/Buffer')
| -rw-r--r-- | src/TextViewport/Buffer/Item.hs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/TextViewport/Buffer/Item.hs b/src/TextViewport/Buffer/Item.hs index b08aaf4..81d18ef 100644 --- a/src/TextViewport/Buffer/Item.hs +++ b/src/TextViewport/Buffer/Item.hs @@ -15,13 +15,7 @@ data SegmentStrategy = NoSegments | FixedWidthSegments | HyphenateSegments - { hsDict :: H.Hyphenator + { hsLang :: H.Language , hsCache :: HM.HashMap Text [(Text, Text)] } deriving (Eq, Show) - -instance Show H.Hyphenator where - show _ = "<Hyphenator>" - -instance Eq H.Hyphenator where - a == b = False |
