Add split and splitWith to Data.List
|Reported by:||twanvl||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
An often requested function is 'split', to split a list into parts delimited by some separator. ByteString? has the functions split and splitWith for this purpose. I propose we add equivalents to Data.List.