fourmolu-0.7.0.0: data/examples/declaration/value/pattern-synonyms/explicitely-bidirectional-out.hs
{-# LANGUAGE PatternSynonyms #-}
pattern P a <- C a where P a = C a
pattern HeadC x <- x : xs
where
HeadC x = [x]
pattern HeadC' x <-
x : xs
where
HeadC' x = [x]
pattern Simple <- "Simple"
where
Simple = "Complicated"
pattern a :< b <-
(a, b)
where
a :< b = (a, b)