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"
--> ["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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
