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

8 lines
155 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
module B where
import A
foo :: SomeType Int Char -> String
foo x = case x of
MyPat a b -> show a ++ " " ++ [b]