Why is there no splitBy in the list module?

Marc Weber marco-oweber at gmx.de
Mon Jul 10 05:42:01 EDT 2006


There is already lines.
Why not generalise it to take an additional parameter '\n' and call it
split or splitBy?
There are some cases where you want to split a list not on '\n'.

Marc


More information about the Glasgow-haskell-users mailing list