getContents package:yesod-paginator

The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin).