From fffb8325acf5c5778937c26c792cb40aed7bc788 Mon Sep 17 00:00:00 2001 From: Jaro Date: Sat, 4 Mar 2023 15:27:12 +0100 Subject: [PATCH] Remove unnecessary default implementation. --- src/Data/Text/ParagraphLayout/TextContainer.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Data/Text/ParagraphLayout/TextContainer.hs b/src/Data/Text/ParagraphLayout/TextContainer.hs index e2a4637..4277285 100644 --- a/src/Data/Text/ParagraphLayout/TextContainer.hs +++ b/src/Data/Text/ParagraphLayout/TextContainer.hs @@ -18,7 +18,6 @@ class TextContainer a where -- of `Word8` units from the start of the text. class TextContainer a => SeparableTextContainer a where splitTextAt8 :: Int -> a -> (a, a) - splitTextAt8 _ _ = error "container cannot be split" -- | Treat a list of text containers as a contiguous sequence, -- and make a split at the given number of `Word8` from the beginning -- 2.30.2