
28 Mar
2009
28 Mar
'09
3:40 a.m.
Brandon S. Allbery KF8NH
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 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.