on master help sign in
Document another identity for split.

--HG-- extra : convert_revision : 02f6e1c936c242ff81556ffe6b64405063861d92

commita181624863c8b061ec72594489f78438d13fdcb0 authorBryan O'Sullivan <bos@serpentine.com> dateFri 14 Aug 2009, 06:47 (17 years ago) parent0436c84
1 file changed+1
Data/Text.hs+1
Data/Text.hs+1
@@ -897,6 +897,7 @@ tails t | null t = [empty]
897897-- and
898898--
899899-- > intercalate s . split s == id
900+-- > split (singleton c) == splitWith (==c)
900901split :: Text -- ^ Text to split on
901902 -> Text -- ^ Input text
902903 -> [Text]