package blitz.func.io import blitz.func.* fun Monad.print() = bind { print(it) } fun readIn() = Monad { generateSequence { readln() } }