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

Add Functions!RestrictPred (Filter) #81

Closed
lemmy opened this issue Oct 28, 2022 · 0 comments
Closed

Add Functions!RestrictPred (Filter) #81

lemmy opened this issue Oct 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lemmy
Copy link
Member

lemmy commented Oct 28, 2022

RestrictPred(f, Test(_)) ==
    Restrict(f, { x \in DOMAIN f : Test(x) })

Could also be named Filter to align with map and fold known to functional programmers, but then we already have Restrict.

lemmy pushed a commit that referenced this issue Nov 1, 2022
Add Functions!Restrict(Domain|Values).

Addresses Github issue #81
#81

[Feature]
@lemmy lemmy added the enhancement New feature or request label Nov 1, 2022
@lemmy lemmy closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants