
21 Oct
2008
21 Oct
'08
3:46 a.m.
On 2008 Oct 20, at 23:36, Ian Duncan wrote:
'm trying to compile my file that has my Euler problems in it to output the solution to problem four, but I'm getting a compile error. Here's my .hs file: ------------------------- module Euler1 where
If you're not using the standard module Main, you need to tell ghc which module you put your main function in: ghc --main-is Euler1 ... -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH