Modulinos: Difference between revisions
Content added Content deleted
(Fixed Haskell) |
|||
Line 230: | Line 230: | ||
<lang sh>$ rm scriptedmain.hi |
<lang sh>$ rm scriptedmain.hi |
||
$ ghc -o scriptedmain -main-is ScriptedMain scriptedmain.hs |
|||
$ ./scriptedmain |
|||
Main: The meaning of life is 42 |
Main: The meaning of life is 42 |
||
$ rm scriptedmain.o |
|||
$ ghc -o test -main-is Test test.hs scriptedmain.hs |
|||
$ ./test |
|||
Test: The meaning of life is 42</lang> |
Test: The meaning of life is 42</lang> |
||