
#11507: `GHC.Base.eqString`'s documentation is messed up -------------------------------------+------------------------------------- Reporter: czipperz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- @@ -12,0 +12,3 @@ + + Saw at + http://hackage.haskell.org/package/base-4.8.2.0/docs/src/GHC.Base.html New description: Reads: {{{#!hs {-# RULES "eqString" (==) = eqString #-} -- eqString also has a BuiltInRule in PrelRules.lhs: -- eqString (unpackCString# (Lit s1)) (unpackCString# (Lit s2) = s1==s2 }}} The problem is that the string at `(unpackCString# (Lit s2) =` is unclosed (should be `(unpackCString# (Lit s2))`). Saw at http://hackage.haskell.org/package/base-4.8.2.0/docs/src/GHC.Base.html -- Comment (by czipperz): http://hackage.haskell.org/package/base-4.8.2.0/docs/src/GHC.Base.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11507#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler