brittany/data/Test241.hs

4 lines
81 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
pattern HeadC x <- x : xs where
HeadC x = [x]