-
Notifications
You must be signed in to change notification settings - Fork 87
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
n-ary transform function #121
Comments
I assume the error types would need to match? |
Yes, definitely. |
Looks pretty good. It doesn't do the invoke thing that allows using pointers to members. Is that planned? Also, I requested nullary function support, but now I don't remember what for. |
Member function support is something I need to add to the "monadic" operators as well. I'll figure something out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way I see it, it should be something like
system::invoke
that invokes a callable with N (0+) arguments of which some can be results. In addition, for convenience it should invoke the callable similar to whatstd::invoke
does.Example
One interesting question is whether
result<void>
arguments should be allowed. The semantics would be to ignore them when invoking the callable, but that would complicate implementation.The text was updated successfully, but these errors were encountered: