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

8 lines
122 B
Haskell
Raw Normal View History

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