ghc-mod/test/data/pattern-synonyms/A.hs

7 lines
121 B
Haskell
Raw Normal View History

2014-09-12 01:48:22 +00:00
{-# LANGUAGE PatternSynonyms #-}
module A where
data SomeType a b = SomeType (a,b)
pattern MyPat x y <- SomeType (x,y)