On 18 February 2005 19:12, Sven Panne wrote:

> Akos Korosmezey wrote:
>> When I compile a simple code importing Control.Monad.State with
>> ghc-6.4.20050217 on Linux I get linking errors:  [...]
> 
> You have to use "-package mtl" when "--make" is not used, because mtl
> (where Control.Monad.State resides) is not an auto package, for more
> details see: 
> 
>     http://haskell.org/ghc/docs/latest/html/users_guide/packages.html

Actually mtl *is* exposed by default, but you still have to explictly
list packages when linking in "batch" mode.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to