[Haskell-cafe] Why is there no "splitSeperator" function in Data.List
fuzxxl at gmail.com
Sat Feb 12 17:00:47 CET 2011
Is there any reason, that one can't find a function that splits a list
at a seperator in the standard library? I imagined something like this:
splitSeperator :: Eq a => a -> [a] -> [[a]]
splitSeperator ',' "foo,bar,baz"
Or something similar? This is needed so often, even if I can implement
it in one line, is there any reason why it's not in the libs?
Yours, Robert Clausecker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: This is a digitally signed message part
More information about the Haskell-Cafe