<span style="font-family:courier new,monospace">main = runConsole .<br> Output &quot;Known commands: show, inc, hello, exit&quot; $ interpreter 5</span><br><br>I have not yet gained a good understanding of the continuation monad, but I wonder if it could be used here. What would a clean solution look like? Perhaps there are other things that need to be changed as well?<br>
<br>Regards,<br>Tim<br><br>