hobbits-1.1.1: A library for canonically representing terms with binding

PortabilityGHC
Stabilityexperimental
Maintaineremw4@rice.edu
Safe HaskellNone

Data.Binding.Hobbits.Examples.LambdaLifting

Contents

Description

The lambda lifting example from the paper E. Westbrook, N. Frisby, P. Brauner, "Hobbits for Haskell: A Library for Higher-Order Encodings in Functional Programming Languages".

Synopsis

Term data types, using Mb

The lambda-lifting function

mbLambdaLift :: Mb c (Term a) -> Mb c (Decls a)Source