You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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 viewisPure
as a logical proposition, allowing a higher-order function (such asmap
) to explicitly indicate that its argumentf
must be pure (if desired).Originally posted by @fpottier in #147 (comment)
The text was updated successfully, but these errors were encountered: