by wastewaste · 8y ago · 0 comments
this is recursive, which is just how a function like succ works (with a bit more work, anyway) but the definition rather concernes a polymorph function.
You do work in a particular encoding when you mention yero, at least. and succ^x is also an encoding (where x is zero or succ^y, where y is zero or ...).
That encoding is completely opaque, though. You have no way of knowing what are the members of zero.