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

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to