
hello, I have added new function definitions to the namespace of an existing module. I did 1: runhaskell Setup.hs configure 2. runhaskell Setup.hs build 3) runhaskell Setup.hs install successfully so that a Linux .a(rchive) is installed. I write a small test case that references one of the new functions; however, when I build the test case, I get an "Out of scope" message indicated that at ghc(i) compile time the new function symbol cannot be found. Why? kind regards, Vasili

Hello Galchin, Friday, April 4, 2008, 2:50:42 AM, you wrote:
3) runhaskell Setup.hs install I write a small test case that references one of the new functions; however, when I build the test case, I get an "Out of scope" message indicated that at ghc(i) compile time the new function symbol cannot be found. i think you should add -package to your ghci cmdline
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com
participants (2)
-
Bulat Ziganshin
-
Galchin Vasili