Open HalosGhost opened 5 years ago
It looks like an accepted alternative (to nested church pairs) implementation of lists in the lambda calculus is representing them as a right-fold.
There are a few benefits to this style:
The obvious negative is that it would require updating the term-printer to support this encoding rather than the current version.
Is this too much work for not enough gain?
It looks like an accepted alternative (to nested church pairs) implementation of lists in the lambda calculus is representing them as a right-fold.
There are a few benefits to this style:
The obvious negative is that it would require updating the term-printer to support this encoding rather than the current version.
Is this too much work for not enough gain?