License | GPL-3 |
---|---|
Safe Haskell | Safe |
Ski
Description
This module implements a representation of the SKI subset of the calculus of combinators. It provides a lambda abstraction algorithm writing lambda expressions as combinators.
Documentation
A SKI combinator expression
skiabs :: NamedLambda -> Ski Source #
SKI abstraction of a named lambda term. From a lambda expression creates a SKI equivalent expression. The following algorithm is a version of the algorithm 9.10 on the Hindley-Seldin book.