1 2 3 4 5 6 7 8
{-# LANGUAGE OverloadedLists #-} {-# LANGUAGE PatternSynonyms #-} module T14380 where data Foo = Foo [Int] pattern Bar :: Foo pattern Bar = Foo []