<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small">Hi All,</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">I'm following this lecture[1] series and stuck at the module creation section.</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">Even though I understand the idea of the module I can't figure out the exact syntax to module creation.</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">Do we have to compile the Haskell file containing the module declaration? </div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">For an example:</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">Do I have to compile this;</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"> module metricCalc(.....) where ... </div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">in a file metricCalc.hs <br></div><div><br></div><div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">[1] <a href="http://shuklan.com/haskell/index.html" style="font-family:'Segoe UI',Tahoma,Arial,Verdana;font-size:12px;line-height:1.5em">http://shuklan.com/haskell/index.html</a><span style="color:rgb(0,0,0);font-family:'Segoe UI',Tahoma,Arial,Verdana;font-size:12px;line-height:1.5em"> </span></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><font face="georgia,serif">Regards, <br>Dananji Liyanage</font></div></div></div></div></div>
</div>