Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Add iterative terminal operation and a shortcut #244

Closed
wants to merge 7 commits into from

Conversation

pablisco
Copy link
Contributor

@pablisco pablisco commented Aug 5, 2020

Very small PR to add a new terminal operation that "iterates" over each value emitted.

I've also added a shortcut in case we want to avoid calling compile every time.

Shall I add the shortcuts for the other terminal operations?

@pablisco
Copy link
Contributor Author

pablisco commented Aug 5, 2020

I've replaced the forEach for a fold, I guess it's more explicit to do fold(Unit) { _, it -> do(it) }

@pablisco
Copy link
Contributor Author

@nomisRev This is probably no longer relevant after #317 right?

@nomisRev
Copy link
Member

Hey @pablisco, no this will no longer be relevant if #317 goes through.

@pablisco
Copy link
Contributor Author

Following up here: #325

@pablisco pablisco closed this Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants