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

Improve takewhile, takeWhileInclusive and skipwhile, skipWhileInclusive #235

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

abelbraaksma
Copy link
Member

@abelbraaksma abelbraaksma commented Mar 15, 2024

Base on input from #223 (thanks @bartelink) and me rethinking my own wrong assumptions (see #223 (comment)), we're now finally a step in the right direction: back to simplified and easy-to-read algorithms (imho).

TODO:

  • refactor / improve takeWhile and takeWhileInclusive
  • refactor / improve skipWhile and skipWhileInclusive

@abelbraaksma abelbraaksma self-assigned this Mar 15, 2024
@abelbraaksma abelbraaksma added refactoring Cleanup, refactoring and minor fixes topic: surface area Adds functions to the public surface area cleanup labels Mar 15, 2024
@abelbraaksma abelbraaksma merged commit 988ac7f into main Mar 15, 2024
6 checks passed
@abelbraaksma abelbraaksma deleted the improve-takewhile-skipwhile branch March 15, 2024 15:50
@bartelink
Copy link
Member

A very pleasing outcome - nicely done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup refactoring Cleanup, refactoring and minor fixes topic: surface area Adds functions to the public surface area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement functions TaskSeq.skip, skipWhile, where, truncate, take, insertAt, updateAt, forall, concat (seq)
2 participants