
import Control.Monad.Error It adds dependancy on mtl package, which is not used by default (contrary to 'base' package, which includes Monad, System and IO modules). With --make GHC adds it automatically. Therefore $ ghc -package mtl ex14.hs compiles fine. I'd recommend using --make. In rare occasions when
OK. Thanks, everyone.
Michael
--- On Fri, 5/15/09, Krzysztof Skrzętnicki