Opened 7 weeks ago

Closed 7 weeks ago

#13688 closed feature request (fixed)

Allow splices in definition of pattern synonym

Reported by: bgamari Owned by: bgamari
Priority: normal Milestone: 8.4.1
Component: Template Haskell Version: 8.0.1
Keywords: PatternSynonyms Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D3571
Wiki Page:

Description (last modified by bgamari)

shlevy requests the ability to write,

pattern MyUUID = [uuid|dbf20a11-b04a-47a5-a7d6-a6f9ae7ff895|]

Change History (5)

comment:1 Changed 7 weeks ago by bgamari

Description: modified (diff)
Owner: set to bgamari

comment:2 Changed 7 weeks ago by bgamari

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

comment:3 Changed 7 weeks ago by bgamari

Milestone: 8.4.1

comment:4 Changed 7 weeks ago by Ben Gamari <ben@…>

In 01db135/ghc:

Allow spliced patterns in pattern synonyms

This ended up being quite simple.

Reviewers: austin, goldfire, mpickering

Subscribers: rwbarton, shlevy, thomie

GHC Trac Issues: #13688

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

comment:5 Changed 7 weeks ago by bgamari

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