brittany/data/Test247.hs

4 lines
80 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
pattern J :: a -> Maybe a
pattern J x = Just x