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 request: Base.FixN? #50553

Closed
MilesCranmer opened this issue Jul 14, 2023 · 2 comments
Closed

Feature request: Base.FixN? #50553

MilesCranmer opened this issue Jul 14, 2023 · 2 comments
Labels
feature Indicates new feature / enhancement requests

Comments

@MilesCranmer
Copy link
Sponsor Member

MilesCranmer commented Jul 14, 2023

Hello,

I was just wondering why Base.Fix$(N) only exists for N ∈ [1, 2]? It seems fairly arbitrary.

Could we perhaps add a Base.FixN which can take a ::Val{N::Integer} as an argument, and uses that to index the argument?

Best,
Miles

@Seelengrab
Copy link
Contributor

See also #554 for related discussion on currying.

@brenhinkeller brenhinkeller added the feature Indicates new feature / enhancement requests label Aug 4, 2023
@nsajko
Copy link
Contributor

nsajko commented Aug 9, 2024

fixed by #54653

@nsajko nsajko closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Indicates new feature / enhancement requests
Projects
None yet
Development

No branches or pull requests

4 participants