We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be worthwhile to have a function composition operator in julia? I often have code which looks like
map(x -> g(f(x)), iter)
or maybe
hgf(x) = x |> f |> g |> h map(hgf, iter)
I think it would be nice to write this as
map(g∘f, iter) map(h∘g∘f, iter)
A basic implementation would be
∘(g,f) = x-> g(f(x))
See also #5236
The text was updated successfully, but these errors were encountered:
#17184 and #17155
Sorry, something went wrong.
Thanks, I guess there is no need to have another place for discussing this.
No branches or pull requests
Would it be worthwhile to have a function composition operator in julia? I often have code which looks like
or maybe
I think it would be nice to write this as
A basic implementation would be
See also #5236
The text was updated successfully, but these errors were encountered: