words package:ghc

words breaks a string up into a list of words, which were delimited by white space (as defined by isSpace). This function trims any white spaces at the beginning and at the end.
>>> words "Lorem ipsum\ndolor"
["Lorem","ipsum","dolor"]

>>> words " foo bar "
["foo","bar"]
Convert the given number of words to a number of bytes. This function morally has type WordOff -> ByteOff, but uses Num a to allow for overloading.
Word size