Type Checking as Calculation
billwadge.com
billwadge.com
Lambda calculus doesn't have built-in numbers either. Curiously, the standard representation of numbers in lambda calculus, the so-called Church numerals, allows for a non-recursive definition of factorial [1]:
fac = λnλf.n(λfλn.n(f(λfλx.n f(f x))))(λx.f)(λx.x)
> There’s more to type checking than Haskell’s rigid declarations.
I don't see such rigidity since most type declarations in Haskell can be omitted as they will be correctly inferred.
Textbook case of falling victim to the Blub Paradox.
> The answer is … int! Yes, PyFL has typed an untypable program!
I'm not sure why the author is making this sound like a good thing.