[GHC] #3866: Constr Eq instance should have better
documentation or semantics
GHC
trac at galois.com
Wed Feb 10 09:30:04 EST 2010
#3866: Constr Eq instance should have better documentation or semantics
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner: dreixel
Type: bug | Status: assigned
Priority: normal | Component: libraries (other)
Version: 6.12.1 | Keywords: syb
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by NeilMitchell):
dreixel: Thanks for doing and patch and writing some better documentation.
However, wouldn't it be better to avoid details of the implementation,
skip the bug report link, and just document the API. How about:
{{{
-- | Representation of constructors. Note that equality on constructors
with different types may not work -- i.e. the constructors for 'False' and
'Nothing' may compare equal.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3866#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list