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

Feature/map #203

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Feature/map #203

wants to merge 6 commits into from

Conversation

jlouis
Copy link
Owner

@jlouis jlouis commented Jan 30, 2019

No description provided.

Start out simple. Assume we cannot return another defer from the defer
we already got. This makes for a relatively simple update to the code
base, where the result of a field closure applies the chain of
functions before it works with the result at a deeper level.
Strategy: keep a chain of changes. Apply this chain when we have value
resolution. Do not cope with the chain dumping a defer for now, but it
is doable given the closure handler anyway. It has to work with the
possibility that the upstream ref changes anyway, so it should be
sound to make this change on top.
Strategy: When a chain returns a defer in the middle, build a new
field closure using the standard closure building tooling. Then ask
the upstream to change its reference to this new closure. Also graft
the completion chain on top of the chain we got from the newly formed
closure.
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.

1 participant