Re:A Quirky Function
by Double_Cast on Saturday June 25, 2016 @02:02PM
(#11977264)
Lambda Calculus returns (\z.z) AKA the Identity Function. Which kinda sounds like 1, except 1 is usually represented as (\sz.sz). Which means 0^0 is NaN? I wonder if division by zero also gives (\z.z), but I don't know what division in Lambda Calculus looks like.
[ Parent
| on HN ]
I'm pretty sure (\sz.sz) and (\z.z) are the same function: (\sz.(\z.z)sz)=(\sz.sz).
It would make sense that 0^0 for church numerals is 1, since this is exponentiation to the natural (defined as recursive multiplication, with the base case x^0=1).