Skip to content

Wrong symbols used in Data.Foldable documentation

Summary

Location of documentation issue: https://ghc.gitlab.haskell.org/ghc/doc/libraries/base-4.16.0.0/Data-Foldable.html, archived at https://archive.is/CnZlb

The wrong apostrophe is used, and links are pointing to the wrong version of functions. For example: foldl` :: Foldable t => (b -> a -> b) -> b -> t a -> b. Foldmap has the same issue: foldMap` :: (Foldable t, Monoid m) => (a -> m) -> t a -> m.

Proposed improvements or changes

That backtick should have been an ASCII-compatible single quote (encoded with byte 39), instead of the Unicode character 'GRAVE ACCENT' (U+0060).

Environment

  • GHC version used (if appropriate):

I did not use GHC, I am just browsing the docs.

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