Strange Haddock output

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... 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. Sean

2010/2/9 Sean Leather
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...
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
participants (2)
-
David Waern
-
Sean Leather