I use Haskell Platform 2010.2.0.0 on WinXP, and jEdit.<div><div>I write my first code, and got error...</div><div><br></div><div><div>main = do<span class="Apple-tab-span" style="white-space:pre">        </span>cs &lt;- readFile &quot;C:\\SPR.txt&quot;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>putStrLn $ myManupulation cs</div><div><br></div><div>myManupulation cs = (unlines cs) ! 3</div><div><br></div><div>The error message is &quot;Empty &#39;do&#39; construct&quot;</div>
<div>What&#39;s this mean? and how can I fix it?</div><div><br></div><div>Thank you a lot!</div>-- <br>Sok Ha, CHANG<br>Open Mind Clinic/Academy, 1551-1, Sa-Dong, SangRok-Gu, AnSan-City, KyongGi-Do<br>Tel: 031-407-6114<br>
HP: <a href="http://openmind.ac">openmind.ac</a> / <a href="http://www.openmind.ac">www.openmind.ac</a><br>
</div></div>