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 variadic <T1, T2, ...TN> peek()/tap() to FunctionN #2755

Open
btoo opened this issue Dec 8, 2023 · 0 comments
Open

Add variadic <T1, T2, ...TN> peek()/tap() to FunctionN #2755

btoo opened this issue Dec 8, 2023 · 0 comments

Comments

@btoo
Copy link

btoo commented Dec 8, 2023

Similar to #2723, it would be quite useful to be able to non-disruptively access the values of variadic types (which I'll admit would probably be a larger effort than adding the current peek/tap implementations, all monadic, was)

Function3.of(functionWith3Args)
  .peek(debug3Values)
  .andThen(...)
@btoo btoo changed the title Add variadic <T1, T2, ...TN> peek() to FunctionN Add variadic <T1, T2, ...TN> peek()/tap() to FunctionN Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant