pattern RedEx x t s = App (Lambda x t) s
pattern AppApp a b c = App a (App b c)
pattern EmLambda x y t = Lambda x (Lambda y t)
pattern RedEx x t s = App (Lambda x t) s
pattern AppApp a b c = App a (App b c)
pattern EmLambda x y t = Lambda x (Lambda y t)