[Haskell-cafe] Linking failing due to Control.Monad.State.Strict?

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Fri Aug 7 05:14:42 EDT 2009


> If I look with '-v' tho it seems to include Haskell libs in the  
> underlying link - see below?  Plus it only complains about this  
> library, I use many other standard libs too?  Looks like something  
> stranger is going on?

Looks like you need to add -package mtl to the ghc commandline.  If  
you don't use --make, then you need to be explicit about which  
packages to link against.

Regards,
     Malcolm



More information about the Haskell-Cafe mailing list