On Mon, Oct 12, 2009 at 6:37 PM, michael rice <span dir="ltr">&lt;<a href="mailto:nowgate@yahoo.com">nowgate@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">transform :: IO ()<br>transform = putStrLn &quot;What is your digit
 string?&quot;<br>         &gt;&gt; getLine<br>         &gt;&gt;= \str -&gt; return (&#39;9&#39;:str)<br>         &gt;&gt;= \str -&gt; return (read str :: Int)<br>         &gt;&gt;= \i -&gt; putStrLn $ &quot;The number is &quot; ++ show i<br>
</td></tr></tbody></table></blockquote><div></div><div>This code works perfectly for me. What problem are you seeing specifically?<br></div><div></div><div>Cheers,</div><div></div><div>/Niklas</div>