Haskell platform proposal: split package

Roman Cheplyaka roma at ro-che.info
Sat Jul 21 08:24:16 CEST 2012


+1. People often reinvent splitting utilities because adding dependency
on a package for simple functions like these seems overkill.
Hopefully, inclusion into HP will help it and make the overhead smaller.

Regarding the API: I'm a bit concerned with presence of synonyms there
(e.g. chunk = splitEvery, sepBy = splitOn etc.) IMO it makes it harder
to learn the API (which is not small even without the synonyms), and
especially to read other people's code if their preferences in naming
differ from yours.

-- 
Roman I. Cheplyaka :: http://ro-che.info/



More information about the Libraries mailing list