packages feed

ghc-exactprint-0.5.1.0: tests/examples/ghc8/records-exquant.hs

{-# LANGUAGE PatternSynonyms, ExistentialQuantification #-}
module ExQuant where

data Showable = forall a . Show a => Showable a

pattern Nasty{a} = Showable a

qux = a (Showable True)

foo = (Showable ()) { a = True }