packages feed

ghc-exactprint-0.5.3.1: tests/examples/ghc80/records-no-uni-update2.hs

{-# LANGUAGE PatternSynonyms #-}
module RecordPats where

-- No updates
pattern Uni{a} <- Just a

qux = a (Just True)

qux2 (Uni b) = b

foo = Uni { a = "b" }