Why is there no splitBy in the list module?

Christian Maeder maeder at tzi.de
Tue Jul 18 10:45:43 EDT 2006

Udo Stenzel schrieb:
> However, by analogy with 'break' and 'span' it should be just 'split',
> and if you want to split on white space, you say so: 'split isSpace'.
> I also think, this version of 'split' (or whatever you want to call it)
> is all that's needed, because
> *> lines == split (== '\n')
> *> words == filter (not.null) . split isSpace

good idea. I support this, too.


More information about the Libraries mailing list