summaryrefslogtreecommitdiff
path: root/src/Data/Text/Short.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Text/Short.hs')
-rw-r--r--src/Data/Text/Short.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Data/Text/Short.hs b/src/Data/Text/Short.hs
index e34544e..3e9b1a0 100644
--- a/src/Data/Text/Short.hs
+++ b/src/Data/Text/Short.hs
@@ -76,6 +76,9 @@ module Data.Text.Short
, spanEnd
, breakEnd
+ -- ** Breaking into many substrings
+ , split
+
-- ** Suffix & Prefix operations
, stripPrefix
, stripSuffix
@@ -322,6 +325,7 @@ dropWhile p = snd . span p
dropWhileEnd :: (Char -> Bool) -> ShortText -> ShortText
dropWhileEnd p = fst . spanEnd p
+
-- $setup
-- >>> :set -XOverloadedStrings
-- >>> import Text.Show.Functions ()