words -package:hedgehog -package:dimensional -package:streamly-core -package:xmonad-contrib package:infinite-list

Split an infinite string into words, by any isSpace symbol. Leading spaces are removed and, as underlined by the return type, repeated spaces are treated as a single delimiter.
Concatenate words together with a space. The function is meant to be a counterpart of with words. If you need to concatenate together Infinite [Char], use intercalate (pure ' ').