| GHC 6.8 seems unable to derive (some?) instances for data types with
| higher-kinded variables. GHC 6.6 manages these just fine. See below.
| data T w = T (w Bool) deriving (Show)
| data ID x = ID x deriving (Show)
| main = print (T (ID False))
Look at the instance declaration you'd get
Hello,
I am trying to use the API to interpret a Main module and get some type
information from it. However, everytime I try to load a Main.hs module
using the API I get the following error message:
/usr/local/packages/ghc-6.8.2/lib/ghc-6.8.2/libHSrts.a(Main.o): In
function `real_main':
Hi!
the ghc compiler keeps complaing can't find module 'Char', perhaps you
haven't installed the profiling libraries for package haskell98?.
but actually I did install it, and i checked with ghc -v , it is right
there:
wired-in package haskell98 mapped to haskell98-1.0.1.0, and
jimmyguang2005:
Hi!
the ghc compiler keeps complaing can't find module 'Char', perhaps you
haven't installed the profiling libraries for package haskell98?.
but actually I did install it, and i checked with ghc -v , it is right
there:
wired-in package haskell98 mapped
Am Freitag, 18. April 2008 22:14 schrieb Liang Guang:
Hi!
the ghc compiler keeps complaing can't find module 'Char', perhaps you
haven't installed the profiling libraries for package haskell98?. but
actually I did install it, and i checked with ghc -v , it is right there:
wired-in
Thanks! It is a very helpful hint..
I didnot find the profiling library for ghc-6.8.2, so I installed
ghc661-prof, but the yum ( i use fedora 8) installed the latest ghc-6.8.2, so
they end up in different directories..
now it is working.
Cheers,
Liang
Daniel Fischer [EMAIL