Skip to content

Allow partial application of bidirectional pattern synonyms

type Product3 = (,,)

Allow

pattern Product3 :: a -> b -> c -> Product3 a b c
pattern Product3 = (,,)

to mean

pattern Product3 :: a -> b -> c -> Product3 a b c
pattern Product3 x y z = (x, y, z)
Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information