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

Segmented lines, #22 fix, and splitInput for #20 #25

Closed
wants to merge 5 commits into from

Conversation

wti
Copy link
Contributor

@wti wti commented Mar 22, 2024

Per the discussion on #24, this variant for #20 is intended as minimal.

For Shwift it has the original fix for #22 and split Line segments.

For Script it has only splitInput. That includes a reducing operation and thus is (properly) not usable as pipe source. It could be renamed to splitInputAndReduce for clarity, but it's the only split API and the parameters and type make its operation pretty clear.

The reduce operation takes a String rather than an AsyncSequence of String. It's simpler and doesn't lose much useful functionality (and I couldn't get that working :)

@wti
Copy link
Contributor Author

wti commented Mar 23, 2024

done in #26

@wti wti closed this Mar 23, 2024
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

Successfully merging this pull request may close these issues.

1 participant