[GHC] #10142: Documentation for Ix is contradictory around minimal definition
GHC
ghc-devs at haskell.org
Fri Mar 6 17:25:50 UTC 2015
#10142: Documentation for Ix is contradictory around minimal definition
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: ekmett
Type: bug | Status: new
Priority: normal | Milestone:
Component: Core | Version: 7.8.4
Libraries | Operating System: Unknown/Multiple
Keywords: | Type of failure: None/Unknown
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
The Haddock documentation for `Ix`
[http://hackage.haskell.org/package/base-4.7.0.2/docs/Data-Ix.html here]
says that the minimal definition requires `range`, `index`, and `inRange`.
But then it says that the minimal definition requires `range` and
`inRange`. It seems that Haddock is inferring a `MINIMAL` definition where
none is in the code. Perhaps a `MINIMAL` should be added.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10142>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list