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

function/stdlib: ChunklistFunc precise mark handling #100

Merged
merged 1 commit into from Apr 20, 2021

Conversation

apparentlymart
Copy link
Collaborator

Will now preserve markings on individual input elements, without aggregating them on the returned top-level list.

Marks on the list or on the chunk size will still propagate to the top-level return value.

Chunklist previously didn't have any tests, so I've added some here in addition to the coverage for the mark handling. I also did some light reorganization so that the argument error handling happens before any of the short-circuit return paths.

Will now preserve markings on individual input elements, without
aggregating them on the returned top-level list.

Marks on the list or on the chunk size will still propagate to the
top-level return value.

Chunklist previously didn't have any tests, so I've added some here in
addition to the coverage for the mark handling. I also did some light
reorganization so that the argument error handling happens before any of
the short-circuit return paths.
@apparentlymart apparentlymart merged commit fa1aa85 into main Apr 20, 2021
@apparentlymart apparentlymart deleted the f-func-chunklist-marked branch April 20, 2021 17:16
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.

None yet

1 participant