There's an example from the Monad.Prompt documentation
https://hackage.haskell.org/package/MonadPrompt-1.0.0.5/docs/Control-Monad-Prompt.html

That is a dead link.
http://paste.lisp.org/display/53766

Does anyone have a copy of this example, and of course any other ones you may know of.