bug?

Paul Hudak paul.hudak@yale.edu
Tue, 24 Oct 2000 14:16:12 -0400


> On my experiments I tried to run the Haskore example. But I get the
> following error:
> ERROR "/usr/local/share/hugs/lib/hugs/../Haskore/src/Monads.hs" (line
> 55): No member "map" in class "Functor"
> 
> Now I looked into the Prelude and there one can just find fmap
> class Functor f where
>     fmap :: (a -> b) -> (f a -> f b)
> Now there is obvious no map. So I guess it must either be added
> or the Monads.hs from Haskore have to be patched.

You must have an old version of Haskore.  The one currently at
haskell.org/haskore (which has been stable for awhile) does not have
this problem.

  -Paul Hudak