Bug#947333: libghc-base-prelude-doc: missing parens in /usr/share/doc/libghc-base-prelude-doc/html/base-prelude.txt

Barak A. Pearlmutter bap at debian.org
Tue Dec 24 21:50:28 GMT 2019


Package: libghc-base-prelude-doc
Version: 1.3-1
Severity: normal

In the file /usr/lib/ghc-doc/hoogle/libghc-base-prelude-doc.txt, linked
to by /usr/lib/ghc-doc/hoogle/libghc-base-prelude-doc.txt, the line

    (>>=) :: Monad m => m a -> a -> m b -> m b

should read

    (>>=) :: Monad m => m a -> (a -> m b) -> m b

Similarly,

    (<$>) :: Functor f => a -> b -> f a -> f b

should read

    (<$>) :: Functor f => (a -> b) -> f a -> f b

and

    (<*>) :: Applicative f => f a -> b -> f a -> f b

should read

    (<*>) :: Applicative f => f (a -> b) -> f a -> f b

I'd imagine these are just the tip of the iceberg.

The underlying problem is probably in Hoogle, since it's what generates
this file.



More information about the Pkg-haskell-maintainers mailing list