[Haskell-beginners] Creating modules

Dananji Liyanage dan9131 at gmail.com
Fri May 8 09:00:23 UTC 2015


Hi All,

I'm following this lecture[1] series and stuck at the module creation
section.

Even though I understand the idea of the module I can't figure out the
exact syntax to module creation.

Do we have to compile the  Haskell file containing the module declaration?

For an example:

Do I have to compile this;

                module metricCalc(.....) where ...
in a file metricCalc.hs

​[1] http://shuklan.com/haskell/index.html


-- 
Regards,
Dananji Liyanage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150508/be62ac8d/attachment-0001.html>


More information about the Beginners mailing list