brittany/data/Test242.hs

4 lines
92 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
pattern Head2 x y <- x : y : xs where
Head2 x y = [x, y]