
21 Feb
2005
21 Feb
'05
6:43 a.m.
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