Skip to content

Data.Foldable documentation does not mention ordering, should allegedly be warier

Summary

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

c_wraith notes on the documentation does not mention that "Foldable is for creating a summary of an ordered data structure.". The whole post is available on Reddit, archived today at archive.is identifier be1z3.

They also raise a concern that the documentation should be warier about e.g. strict left-associative folds.

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