words package:streams is:exact

The words function breaks a stream of characters into a stream of words, which were delimited by white space. Beware: if the stream of characters xs does not contain white space, accessing the tail of words xs will loop.