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

Batch: Provide traverse operation #741

Open
davesmith00000 opened this issue May 18, 2024 · 0 comments
Open

Batch: Provide traverse operation #741

davesmith00000 opened this issue May 18, 2024 · 0 comments

Comments

@davesmith00000
Copy link
Member

davesmith00000 commented May 18, 2024

We have sequence, I think it's in the syntax package.

The slight snag here is that because we aren't stacking instances of typeclasses, as you would in Cats, what we have is a number of specific hardcoded sequence implementations. So needs a little thought. We could implement a bunch of traverse instances the same way... is that sensible? Could even implment traverse as map.sequence, which is technical the opposite of how you normally do it, i.e. sequence = traverse(identity).

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