ghc-exactprint-0.5.1.0: tests/examples/ghc8/records-poly-update.hs
{-# LANGUAGE PatternSynonyms #-}
module Main where
pattern ReqNoProv :: Show a => a -> Maybe a
pattern ReqNoProv{j} = Just j
data A = A deriving Show
p1 = Just True
p6 = p1 {j = A}
main = print p6