1 2 3 4 5 6 7 8
{-# LANGUAGE PatternSynonyms #-} module BundleInternal1 (A(NewA,MkA, NoA)) where newtype A = NewA (Maybe Int) pattern MkA n = NewA (Just n) pattern NoA = NewA Nothing