According to Hoogle, the Prelude function wordslink splits on all chars that are the isSpace class of whitespaces link
Comparing source code for spitWS from MissingH says that it splits on exactly the same chars. To keep one single idiomatic way to write this, I think you should drop this from the library or at least give some motivation in the docs for why to keep it.
According to Hoogle, the Prelude function
words
link splits on all chars that are theisSpace
class of whitespaces linkComparing source code for
spitWS
from MissingH says that it splits on exactly the same chars. To keep one single idiomatic way to write this, I think you should drop this from the library or at least give some motivation in the docs for why to keep it.