Opened 2 years ago

Closed 2 years ago

#10787 closed bug (fixed)

Incorrect code example for pattern synonyms

Reported by: mpickering Owned by:
Priority: normal Milestone: 8.0.1
Component: Documentation Version: 7.10.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Documentation bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D1191
Wiki Page:

Description

MkT is not the name of a type in the section "Typing of pattern synonyms"

https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/syntax-extns.html

Change History (3)

comment:1 Changed 2 years ago by mpickering

Differential Rev(s): Phab:D1191
Status: newpatch

comment:2 Changed 2 years ago by Ben Gamari <ben@…>

In 12098c2/ghc:

Fix typo in pattern synonym documentation.

`MkT` is the name of the constructor whilst `T` is the name of
the type.

Reviewers: bgamari, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1191

GHC Trac Issues: #10787

comment:3 Changed 2 years ago by thomie

Milestone: 8.0.1
Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.