Hi,
I'm trying to compile a program using GHC 4.08 on a Linux system, and I'm
getting an error simply consisting of "AClass", with no output files from
the compiler. When I compile with -v, I get the following output:
The Glorious Glasgow Haskell Compilation System, version 4.08
Effective command line: -v
Ineffective C pre-processor:
echo '{-# LINE 1 "MonadTransformer.hs" -}' > /tmp/ghc32363.cpp && cat
MonadTransformer.hs >> /tmp/ghc32363.cpp
real 0m0.027s
user 0m0.000s
sys 0m0.010s
ghc:recompile:Input file MonadTransformer.hs newer than MonadTransformer.o
Haskell compiler:
/usr/users/deforest/ghc-4.08/fptools-binaries/lib/i386-unknown-linux/hsc
/tmp/ghc32363.cpp -fignore-interface-\
pragmas -fomit-interface-pragmas -fsimplify [ -fmax-simplifier-iterations4 ]
-fwarn-overlapping-patterns -fwarn-missi\
ng-methods -fwarn-missing-fields -fwarn-deprecations -fwarn-duplicate-exports
-fhi-version=408 -static "-himap=.%.hi:/u\
sr/users/deforest/ghc-4.08/fptools-binaries/lib/i386-unknown-linux/imports/std%.hi"
"-himap-sep=:" -v -hifile=/tmp/g\
hc32363.hi -olang=asm -ofile=/tmp/ghc32363.s -F=/tmp/ghc32363_stb.c
-FH=/tmp/ghc32363_stb.h +RTS -H6000000 -K1000000
Glasgow Haskell Compiler, version 4.08, for Haskell 98, compiled by GHC version 4.08
AClass
real 0m0.867s
user 0m0.440s
sys 0m0.050s
deleting... /tmp/ghc32363.cpp /tmp/ghc32363.hi /tmp/ghc32363.s /tmp/ghc32363_stb.c
/tmp/ghc32363_stb.h
rm -f /tmp/ghc32363*
The code that seems to be causing the problem is this:
class MonadT t where
lift :: Monad m => m a -> t m a
liftInside :: (Monad m, MonadT t2) => t m a -> t (t2 m) a
Any advice? Thanks in advance,
kirsten