ghc error when I use MissingH

I am following an article by John Goerzen - http://www.freesoftwaremagazine.com/articles/haskell# Here, the very first example uses MissingH library. As I have ghci 7.0.3 and haskell-platform installed, I quickly installed this library using cabal. But ghc fails to find it. Here are the errors that I get - siddharth@mars:~/myprogs/hs$ ghc --make -o mh1 mh1.hs -v Glasgow Haskell Compiler, Version 7.0.3, for Haskell 98, stage 2 booted by GHC version 6.12.1 Using binary package database: /home/siddharth/tools/ghc/ghc-7.0.3/lib/ghc-7.0.3/package.conf.d/package.cache Using binary package database: /home/siddharth/.ghc/i386-linux-7.0.3/package.conf.d/package.cache wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-6bf7b03ebc9c668817e4379b6796c0c2 wired-in package integer-gmp mapped to integer-gmp-0.2.0.3-91607778cf3ae8f3948a50062b4f8479 wired-in package base mapped to base-4.3.1.0-cf5fbbf5ccbd0475ad054efbb121340e wired-in package rts mapped to builtin_rts wired-in package template-haskell mapped to template-haskell-2.5.0.0-f0c8f015e470d561d64a578434331367 wired-in package dph-seq not found. wired-in package dph-par not found. Hsc static flags: -static *** Chasing dependencies: Chasing modules from: *mh1.hs mh1.hs:1:8: Could not find module `MissingH.List': locations searched: MissingH/List.hs MissingH/List.lhs *** Deleting temp files: Deleting: *** Deleting temp dirs: Deleting: Thanks, Siddharth

Form Hackage it looks as though the module MissingH.List no longer exists in the MissingH package - note the linked article is from 2005. What is the code you are trying to compile?

Yeah, it is an old article. I was just trying to run the first example
from this article.
Using "import Data.List.Utils" instead of "import MissingH.List" fixed
the error.
Good you mentioned that List is not in MissingH module anymore.
Thanks,
Siddharth
On Sat, May 21, 2011 at 4:51 PM, Stephen Tetley
Form Hackage it looks as though the module MissingH.List no longer exists in the MissingH package - note the linked article is from 2005.
What is the code you are trying to compile?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Siddharth Karandikar
-
Stephen Tetley