Luke Hoban 2/25/2020

Untyped Lambda Calculus, Church Numerals, and the Y Combinator in Go

Read Original

This technical article demonstrates how to represent the untyped Lambda Calculus within Go's type system using a recursive function type. It details the implementation of Church-encoded booleans and numerals, arithmetic operations, and the Y Combinator for recursion, including practical examples like factorial and Fibonacci functions.

Untyped Lambda Calculus, Church Numerals, and the Y Combinator in Go

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week