Commits

Bryan O'Sullivan  committed 86d8647

Document another identity for split.

  • Participants
  • Parent commits b8323cc

Comments (0)

Files changed (1)

File Data/Text.hs

 -- and
 --
 -- > intercalate s . split s         == id
+-- > split (singleton c)             == splitWith (==c)
 split :: Text                   -- ^ Text to split on
       -> Text                   -- ^ Input text
       -> [Text]