[Haskell-beginners] Help! I can't compile an example program

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sat Jan 9 04:16:10 EST 2010

On Jan 8, 2010, at 20:27 , Tim Perry wrote:
> C:\Documents and Settings\perry\hs>ghc -O Grades.hs

You almost always want ghc --make, which chases library dependencies  
for you.  (runhaskell does this automatically.)  In this case, what  
you're missing, which --make would have added automatically, is "- 
package containers" (or a versioned variant thereof).

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/beginners/attachments/20100109/33a4d512/PGP-0001.bin

More information about the Beginners mailing list