-
Notifications
You must be signed in to change notification settings - Fork 241
Generate docs for orphan instances in the module where they are defined #297
Comments
This really would be very handy. |
What happened with this? Is hackage using too old of a haddock?
|
N@mgsloan seems to be in haddock bundled with ghc8: http://docs.futurice.com/haskell-mega-repo/futurice-prelude-0.1.9.0/Futurice-Prelude-Internal-Orphans.html (IIRC hackage uses GHC 7.10, and there aren't haddock with orphans for it) |
Oleg Grenrus notifications@github.com writes:
|
I can take care of that, what has to happen? On Thu, May 26, 2016 at 5:48 AM, Ben Gamari notifications@github.com
|
davean notifications@github.com writes:
Cheers,
|
Ben Gamari ben@smart-cactus.org writes:
|
This (?) is hiding instances for |
It's not this. IIRC the bug was present in haddock shipped with GHC7.10 already. Seems there aren't an issue for that though. There are similar bugs reports already |
Original reporter: mail+haddock-trac@
It often happens that orphan instances are declared in an
.Instances
module of a package, e.g. http://hackage.haskell.org/package/vect-0.4.7/docs/Data-Vect-Double-Instances.html.It is very impractical that Haddock generates empty pages for this.
It would be great if haddock could always generate instance documentation for orphan instances in modules are defined.
The text was updated successfully, but these errors were encountered: