
27 Aug
2011
27 Aug
'11
4:57 p.m.
Thanks all.
I was trying to use --main-is. I even man-ed ghc and thought I saw a double dash there.
As they say, believing is seeing.
Michael
________________________________
From: Daniel Fischer
I'm not sure how to do that. Please demonstrate.
Michael
ghc -O -main-is StateGame --make StateGame more generally, ghc -O -main-is Foo.bar --make Foo if the desired main is function bar in module Foo.