[Haskell-cafe] Re: Why is there no splitBy in the list module?

Jared Updike jupdike at gmail.com
Tue Jul 11 18:49:27 EDT 2006

> "split" is... unconcatIntersperse.

How about "separate"?  ("split" or "splitBy" is better but it is used
all over the place in many libs)

And for strings I definitely would use split :: [a] -> [a] -> [[a]]  a
lot, just like Python's split function. And "words" works great for
breaking on multiple spaces, so I would avoid trying to fill that


> Hmm...
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

reverse ")-:"

More information about the Haskell-Cafe mailing list