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

feat(trampoline): [DRAFT] add a trampoline module #2263

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boneskull
Copy link
Collaborator

we will probably need something like this. based on work by @naugtur

@boneskull boneskull self-assigned this May 1, 2024
@boneskull boneskull added the enhancement New feature or request label May 1, 2024

From [Wikipedia](https://en.wikipedia.org/wiki/Trampoline_(computing)):

> A trampoline is a loop that iteratively invokes [thunk](https://en.wikipedia.org/wiki/Thunk_(functional_programming))-returning functions ([continuation-passing style](https://en.wikipedia.org/wiki/Continuation-passing_style)).
Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to highlight that this is one of the usage of the word "trampoline" in programming contexts, and I've actually used trampoline to refer to other usages (in particular a piece of code that allows me to reach another context).

I'd prefer if we named this package in a way that reflects the generator iteration model that this trampoline uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants