how can I call GHC.init and GHC.initPackages?

21 Jul
2007
21 Jul
'07
11:10 a.m.
Hi all, The following lines of code: import GHC main :: [PackageIdentifier] -> IO () main pkgs = GHC.defaultErrorHandler defaultDynFlags $ do GHC.init (Just GHC_LIBDIR) interactive pkgs seemingly worked in GHC 6.6 but they do not work in 6.6.1 anymore with error message: [1 of 1] Compiling Hide.Hide ( src/Hide/Hide.hs, dist/build/Hide/Hide.o ) src/Hide/Hide.hs:34:9: Not in scope: `GHC.init' src/Hide/Hide.hs:44:18: Not in scope: `GHC.initPackages' ******************** setup build failed for packages/baseApp Thanks for any help on the subject. Vadim.
6516
Age (days ago)
6516
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vadim