<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">See below. Lot's of warnings. Is the install OK? If so, can I use the same *import*?<br><br>Michael<br><br>--- On <b>Tue, 7/27/10, Ivan Miljenovic <i><ivan.miljenovic@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><div class="plainMail">><br>> If it isn't installed, you can use cabal-install to install it:<br>><br>> cabal install mtl<br>><br>> --<br>> Ivan Lazar Miljenovic<br>> <a ymailto="mailto:Ivan.Miljenovic@gmail.com" href="/mc/compose?to=Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>> IvanMiljenovic.wordpress.com<br>><br><br><br>[michael@localhost ~]$ cabal install mtl<br>Resolving dependencies...<br>Downloading mtl-1.1.0.2...<br>Configuring mtl-1.1.0.2...<br>Preprocessing library mtl-1.1.0.2...<br>Building
mtl-1.1.0.2...<br>[ 1 of 21] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o )<br><br>Control/Monad/Cont.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Cont/Class.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Error.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Error/Class.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-}
instead<br><br>Control/Monad/Identity.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br><br>Control/Monad/List.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/RWS/Lazy.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-}
instead<br><br>Control/Monad/RWS/Strict.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Reader.hs:2:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Reader/Class.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/State/Lazy.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/State/Strict.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-#
LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Writer.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Writer/Class.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Writer/Lazy.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br><br>Control/Monad/Writer/Strict.hs:1:11:<br> Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead<br>[ 2 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o
)<br><br>Control/Monad/Writer/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[ 3 of 21] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )<br><br>Control/Monad/Error/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version
3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[ 4 of 21] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )<br><br>Control/Monad/State/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[ 5 of 21]
Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )<br><br>Control/Monad/Reader/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[ 6 of 21] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o )<br><br>Control/Monad/RWS/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using
the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[ 7 of 21] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o )<br><br>Control/Monad/Trans.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version
4.x.<br><br>Control/Monad/Trans.hs:26:0:<br> Warning: The import of `System.IO' is redundant<br> except perhaps to import instances from `System.IO'<br> To import instances alone, use: import System.IO()<br>[ 8 of 21] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )<br><br>Control/Monad/Cont/Class.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x.
You<br> should update your code to use the new base version 4.x.<br>[ 9 of 21] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o )<br><br>Control/Monad/Reader.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[10 of 21] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o )<br><br>Control/Monad/Error.hs:1:0:<br> Warning: Module
`Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br><br>Control/Monad/Error.hs:57:0:<br> Warning: The import of `Control.Monad.Reader.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Reader.Class'<br> To import instances alone, use: import Control.Monad.Reader.Class()<br><br>Control/Monad/Error.hs:58:0:<br> Warning: The import of
`Control.Monad.State.Class' is redundant<br> except perhaps to import instances from `Control.Monad.State.Class'<br> To import instances alone, use: import Control.Monad.State.Class()<br><br>Control/Monad/Error.hs:60:0:<br> Warning: The import of `Control.Monad.Writer.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Writer.Class'<br> To import instances alone, use: import Control.Monad.Writer.Class()<br><br>Control/Monad/Error.hs:63:0:<br> Warning: The import of `System.IO' is redundant<br> except
perhaps to import instances from `System.IO'<br> To import instances alone, use: import System.IO()<br>[11 of 21] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o )<br><br>Control/Monad/List.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[12 of 21] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o
)<br><br>Control/Monad/RWS/Lazy.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br><br>Control/Monad/RWS/Lazy.hs:45:0:<br> Warning: The import of `Control.Monad.Reader.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Reader.Class'<br> To import instances alone, use: import
Control.Monad.Reader.Class()<br><br>Control/Monad/RWS/Lazy.hs:46:0:<br> Warning: The import of `Control.Monad.State.Class' is redundant<br> except perhaps to import instances from `Control.Monad.State.Class'<br> To import instances alone, use: import Control.Monad.State.Class()<br><br>Control/Monad/RWS/Lazy.hs:48:0:<br> Warning: The import of `Control.Monad.Writer.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Writer.Class'<br> To import instances alone, use: import Control.Monad.Writer.Class()<br>[13 of 21] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs,
dist/build/Control/Monad/RWS.o )<br><br>Control/Monad/RWS.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[14 of 21] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o )<br><br>Control/Monad/RWS/Strict.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version
3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br><br>Control/Monad/RWS/Strict.hs:45:0:<br> Warning: The import of `Control.Monad.Reader.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Reader.Class'<br> To import instances alone, use: import Control.Monad.Reader.Class()<br><br>Control/Monad/RWS/Strict.hs:46:0:<br> Warning: The import of `Control.Monad.State.Class' is redundant<br> except perhaps to import
instances from `Control.Monad.State.Class'<br> To import instances alone, use: import Control.Monad.State.Class()<br><br>Control/Monad/RWS/Strict.hs:48:0:<br> Warning: The import of `Control.Monad.Writer.Class' is redundant<br> except perhaps to import instances from `Control.Monad.Writer.Class'<br> To import instances alone, use: import Control.Monad.Writer.Class()<br>[15 of 21] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o )<br><br>Control/Monad/State/Lazy.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base'
version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[16 of 21] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o )<br><br>Control/Monad/State.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[17 of 21] Compiling
Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o )<br><br>Control/Monad/State/Strict.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[18 of 21] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o )<br><br>Control/Monad/Writer/Lazy.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using
the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[19 of 21] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o )<br><br>Control/Monad/Writer.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version
4.x.<br>[20 of 21] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o )<br><br>Control/Monad/Writer/Strict.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>[21 of 21] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o )<br><br>Control/Monad/Cont.hs:1:0:<br> Warning: Module `Prelude' is deprecated:<br> You are
using the old package `base' version 3.x.<br> Future GHC versions will not support base version 3.x. You<br> should update your code to use the new base version 4.x.<br>Registering mtl-1.1.0.2...<br>Installing library in /home/michael/.cabal/lib/mtl-1.1.0.2/ghc-6.12.1<br>Registering mtl-1.1.0.2...<br>[michael@localhost ~]$ <br><br></div></blockquote></td></tr></table><br>