Skip to content

Document the constructor name for lists

David Feuer requested to merge treeowl/ghc:data-list-doc into master

Derived Data instances use raw infix constructor names when applicable. The Data.Data [a] instance, if derived, would have a constructor name of ":". However, it actually uses constructor name "(:)". Document this peculiarity.

See https://github.com/haskell/core-libraries-committee/issues/147

Merge request reports