Modulinos: Difference between revisions

125 bytes removed ,  13 years ago
(Fixed Haskell)
Line 230:
 
<lang sh>$ rm scriptedmain.hi
wonko:scriptedmain andrew$ ghc -o scriptedmain -main-is ScriptedMain scriptedmain.hs
wonko:scriptedmain andrew$ ./scriptedmain
Main: The meaning of life is 42
wonko:scriptedmain andrew$ rm scriptedmain.o
wonko:scriptedmain andrew$ ghc -o test -main-is Test test.hs scriptedmain.hs
wonko:scriptedmain andrew$ ./test
Test: The meaning of life is 42</lang>
 
Anonymous user