Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Church -> Parigot, StumpFu conversions #33

Merged
merged 1 commit into from
Dec 21, 2017

Conversation

billpmurphy
Copy link
Contributor

@billpmurphy billpmurphy commented Dec 21, 2017

In retrospect, I realize now that this trick works for any encoding. I was focused on Scott/Church conversions before so I didn't think about these two.

Copy link
Owner

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! It makes perfect sense that this works for all encodings, as Church numerals can be used to iterate functions (the exact trick used e.g. in list::index).

@ljedrz ljedrz merged commit 6d1d4c9 into ljedrz:master Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants