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

Deal with _apply_iterate #158

Merged
merged 3 commits into from
Jan 20, 2020
Merged

Deal with _apply_iterate #158

merged 3 commits into from
Jan 20, 2020

Conversation

vchuravy
Copy link
Member

Fixes #155 and #146

cc: @YingboMa @shashi

@vchuravy vchuravy requested a review from jrevels January 13, 2020 11:15
@KristofferC
Copy link
Contributor

Does this do the:

Cassette and similar tools
can override this argument and provide a function that properly
allows the context to recurse through the iteration, while still
allowing inference to take advantage of the special handling of _apply
for simple cases.

@vchuravy
Copy link
Member Author

can override this argument and provide a function that properly
allows the context to recurse through the iteration,

Yes it does, it rewrites the argument with a args -> overdub(ctx, f, args...)

@shashi
Copy link

shashi commented Jan 15, 2020

Awesome!

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.

Cassette doesn't recurse through into Core._apply_iterate
3 participants