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

Support for impure higher order function arguments #150

Closed
pascutto opened this issue Feb 16, 2022 · 0 comments
Closed

Support for impure higher order function arguments #150

pascutto opened this issue Feb 16, 2022 · 0 comments

Comments

@pascutto
Copy link
Contributor

Regarding pure clauses, I know about them, and I know about the implicit hypothesis that every higher-order function is pure (and requires pure arguments), but I would like to remove this hypothesis. Hence my suggestion to view isPure as a logical proposition, allowing a higher-order function (such as map) to explicitly indicate that its argument f must be pure (if desired).

Originally posted by @fpottier in #147 (comment)

@pascutto pascutto closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant