Skip to content

`GHC.Base.eqString`'s documentation is messed up

Reads:

{-# 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

Edited by czipperz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information