Skip to content

Haskell implementation of the Lambda Calculus

Notifications You must be signed in to change notification settings

noahhaasis/lamha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An interpreter for the Lambda Calculus

Terms have to have the following form:

\x.M  | Abstraction
(M N) | Application
x     | Variable

Examples

const
\a.\b.a

omega (infinite recursion -> doesn't terminate)
(\f.(f f) \f.(f f))

y-combinator
\f.(\x.(f (x x)) \x.(f (x x)))

addition (on church numerals)
\n.\f.\x.(n (f x))

About

Haskell implementation of the Lambda Calculus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published