ghc-exactprint-0.5.3.1: tests/examples/ghc80/poly-export2.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE FlexibleInstances #-}
module Foo (A(P,Q)) where
data A a = A a
pattern P :: Show a => a -> A a
pattern P a = A a
pattern Q :: (A ~ f) => a -> f a
pattern Q a = A a