Haskell platform proposal: split package

Roman Cheplyaka roma at ro-che.info
Sat Jul 21 22:40:19 CEST 2012


* Brent Yorgey <byorgey at seas.upenn.edu> [2012-07-21 08:09:09-0400]
> On Sat, Jul 21, 2012 at 09:24:16AM +0300, Roman Cheplyaka wrote:
> > 
> > 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.
> 
> Would your concern be addressed by Gábor's suggestion to group
> synonyms together in the documentation?

This could be a minor improvement (I haven't checked how these
grouped functions look like in haddock), but I don't see the need for
synonyms in the first place. Could you maybe explain the motivation
behind them?

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



More information about the Libraries mailing list