-
Notifications
You must be signed in to change notification settings - Fork 241
Documentation for base-4.8.0.0 doesn't mention Show Double or Show Float instances #372
Comments
That and many other instances are now not showing up but it's not due to a change on Haddock end at the very least. Maybe @hvr can explain. |
This issue is popping up more and more frequently. Some other victims of this issue include: The discussion in ku-fpg/hermit#173 possibly reveals a workaround? cc @andrewthad |
Based on #297 (comment), #469 might be a dup. At least in the case of |
@Blaisorblade: By "workaround", I mean this comment in particular, which reveals how GHC solves this problem internally. I don't know if the same idea can be used in Haddock. I agree that while most packages should just define instances alongside their datatype/class definitions, it's simply not feasible for every package. |
@RyanGlScott Ah, now I get why you linked to that specific comment, thanks for elaborating. I agree these orphans are fine. OT on orphans (sorry but couldn't resist): |
This was fixed in #724. |
The current release candidate documentation for
base-4.8.0.0
on Hackage does not mention theShow
instance forFloat
inDouble
in any of the places that I can think of. The code for theShow
instances themselves still appear to be fine (inGHC.Float
).The text was updated successfully, but these errors were encountered: