interact package:classy-prelude

Takes a function of type 'LText -> LText' and passes all input on stdin to it, then prints result to stdout Uses lazy IO Uses system locale settings