Adding split/split' to Data.List, and redefining words/lines with it; also, adding replace/replaceBy

Jonathan Cast jonathanccast at
Thu Jul 10 22:49:56 EDT 2008

On Thu, 2008-07-10 at 19:40 -0700, Eric Torreborre wrote:
> Hi,
> Neil's version of split is has the same kind of behavior than Java's,
> Ruby's, Python's

Add perl to that list, as well.

>  where the separator is not included in the splitted list
> (although there are other differences between those versions).
> I guess that should be possible to include a commonly used version of split
> in the standard libraries then, even if it is the "Haskell version" of
> split.

Agreed.  My first reaction was to wonder why split wasn't already in


More information about the Libraries mailing list