
On 2009 Mar 28, at 3:40, 7stud wrote:
Brandon S. Allbery KF8NH
writes: On 2009 Mar 28, at 2:35, 7stud wrote:
$ ghc -c Main.hs ~/2testing/dir3$ ghc -o test Main.hs
If you're not using the cabal framework to build your program,
I thought I was.
You used it to build your package. You're using ghc directly to build your program, not doing "runhaskell Setup.hs build" or "cabal install".
you want to use "ghc --make" so it will chase down the package dependencies. Otherwise you would need to say "ghc -package mypretty".
Based on what I did to install the package, how am I supposed to use the package in a program? The book doesn't give any clue.
That is exactly what you just quoted. -- 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