<div>Hello -</div>
<div> </div>
<div>I just a day or so ago downloaded Hakell and am playing around with it, and I came upon this problem with WinGHCi:</div>
<div> </div>
<div>I am able to enter a multi-line &quot;do&quot; statement that works if I use brackets and semi-colon like so:</div>
<div> </div>
<div>Prelude&gt; :{<br>Prelude| let main2 = do {<br>Prelude| putStrLn &quot;Please enter your name: &quot;; <br>Prelude| name &lt;- getLine;<br>Prelude| putStrLn (&quot;Hello, &quot; ++ name ++ &quot;, how are you?&quot;) }<br>
Prelude| :}<br>Prelude&gt; main2<br>Please enter your name: <br>CT<br>Hello, CT, how are you?<br>Prelude&gt; </div>
<div> </div>
<div>Note there is no indentation.  This makes sense to me because the :{  :} just take all the lines in between and make it one line.</div>
<div> </div>
<div>But it seems to me to be IMPOSSIBLE to input this into WinGHCi using indentation like most of the code samples seem to do.</div>
<div> </div>
<div>Should I just be satisfied that it works using brackets/ semi-colons?  Or is there something obvious that I am missing that allows for indentation?</div>
<div> </div>
<div>Thanks in advance. It&#39;s issues lik this that keep me up into the depths of night.</div>
<div> </div>
<div>Best Regards,</div>
<div> </div>
<div>Chris </div>