Safe HaskellSafe

PatternSyns

Description

Testing some pattern synonyms

Synopsis

Documentation

data FooType x #

FooType doc

Constructors

FooCtor x

pattern Foo :: forall x. x -> FooType x #

Pattern synonym for Foo x

pattern Bar :: forall x. x -> FooType (FooType x) #

Pattern synonym for Bar x

pattern (:<->) :: forall x x1. x -> x1 -> (FooType x, FooType (FooType x1)) #

Pattern synonym for (:<->)

data (a :: *) >< b #

Doc for (><)

Constructors

Empty

pattern E :: forall k a (b :: k). (><) k a b #

Pattern for Empty