ghc-mod/test/data/pattern-synonyms/A.hs
2014-09-12 04:02:32 +02:00

7 lines
121 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
module A where
data SomeType a b = SomeType (a,b)
pattern MyPat x y <- SomeType (x,y)