packages feed

ghc-exactprint-0.5.1.0: tests/examples/ghc8/BundleInternal.hs

{-# LANGUAGE PatternSynonyms #-}
module BundleInternal (A(NewA,MkA, NoA)) where

newtype A = NewA (Maybe Int)

pattern MkA n = NewA (Just n)

pattern NoA = NewA Nothing