Inside DrMark’s Lab

Inside DrMark’s Lab

Partial Functions, Minimization, and PCF without the Mystery in Scala

If this article doesn’t terminate, at least the total attraction does after midnight.

The Unshielded Mind's avatar
The Unshielded Mind
Sep 21, 2025
∙ Paid
Share

This article distills all concepts related to partial recursive functions, the mu operator, and PCF into a compact guide as I teach it in my class on Programming Language Design and Implementation based on Prof. Harper’s textbook. The aim is to keep the language plain, the structure clean, and the Scala examples ready to paste into your notes or code files. When we write small programs that sometimes never finish, we are not being sloppy. We are modeling real computation in Scala.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Markgrechanik@gmail.com
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture