2010/2/9 Sean Leather <leat...@cs.uu.nl>: > I was browsing Hackage pointlessly and came across what appears to be > strange Haddock formatting here: > > http://hackage.haskell.org/packages/archive/pointless-haskell/0.0.3/doc/html/Generics-Pointless-Functors.html#v%3Afmap > > The following source > > -- | Polytypic 'Prelude.Functor' class for functor representations > class Functor (f :: * -> *) where > fmap :: Fix f -- ^ For desambiguation > purposes, the type of the functor must be passed as an explicit > paramaeter to 'fmap' > -> (x -> y) -> Rep f x -> Rep f y -- ^ The mapping over representations > > produces the following view from the browser > > class Functor f where > Polytypic Prelude.Functor class for functor representations > Methods > fmap > :: > => Fix f > -> x -> y > -> Rep f x The mapping over representations > -> Rep f y > > with the Haddock 2.6.0 on Hackage. There seems to be an extraneous => > in the signature of fmap, and the comment on Fix f does not show up.
I think this is an instance of a bug introduced when implementing cross-package documentation. It has been fixed already and will be in the next minor release. David _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe