Skip to content

Is chunksOfExactlyE correct in the case of an empty input chunk? #445

Closed

Description

@tilk

If I'm reading the definition of chunksOfExactlyE correctly, on the case onull b -- which means that the input chunk was empty -- chunksOfE will be called, changing the behavior to that of chunksOfE (with the remainder yielded and not left over). Am I reading this correctly? Is this the intended behavior for some reason, or is it a bug?

Activity

  1. snoyberg commented on Aug 31, 2020

    @snoyberg
    Owner

    Yup, it looks like a bug. Interested in sending a PR?

  2. added a commit that references this issue on Aug 31, 2020
    ec48f23
  3. tilk commented on Aug 31, 2020

    @tilk
    ContributorAuthor

    I sent a PR (#446).

  4. snoyberg commented on Sep 1, 2020

    @snoyberg
    Owner

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions