summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_compile/T8584-1.hs
blob: d2b20f13e35fbd9f9c53305bb620393b40c13690 (plain)
1
2
3
4
5
{-# LANGUAGE PatternSynonyms #-}
module ShouldCompile where

pattern Single :: a -> [a]
pattern Single x = [x]