State of the Blog and Future Ideas

It's the end of summer, 2021. It's some time since I have posted anything, mainly because, this year things like music festivals have been allowed to take place in the UK, so I've been taking advantage of them instead of sitting in front of my computer writing material for this blog. I'd like to apologise, … Continue reading State of the Blog and Future Ideas

Protocol OrientedProgramming part 2

This post is all about how I achieved stage 1 of the conversion of the Lambda Calculator. It follows on from Protocol Oriented Programming. I have commented out all of the code in Expression.swift and added a protocol Expressible. All the functions that were "abstract" in Expression become protocol requirements and all of the functions … Continue reading Protocol OrientedProgramming part 2

Protocol Oriented Programming

This is technically a post in the Lambda Calculus series but I am concerned with the implementation of my Lambda calculator today. Anybody who has looked at the code will see I have used a class hierarchy to represent Lambda expressions. I use classes because I want my objects to be of reference types so … Continue reading Protocol Oriented Programming

Numbers in The Lambda Calculus

God created the natural numbers. All else is the work of man.Leopold Kronecker We've got lists and with lists we can do pretty much any data structure we like. However, in computing, we also need numbers. Usually, numbers are thought of as fairly basic entities with respect to computing, but, in the Lambda Calculus they … Continue reading Numbers in The Lambda Calculus

Lambda Calculus: Recursion

"When preceded by its quotation yields falsehood" when preceded by its quotation yields falsehood.Willard Van Orman Quine Before we start, recursion is a tricky subject. I suggest you read this article before continuing. Also, you're going to need at least version 1.3.1 of the lambda calculator to try out the examples. This version allows variable … Continue reading Lambda Calculus: Recursion