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

add some helpers to deal with streams of bytes #81

Merged
merged 3 commits into from
Apr 30, 2024

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    294590f View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Make concat also work on lists of bytes.

    Unfortunately this requires manually writing out the mapped function
    into the resulting parser, as the `join` method needs to be bound to
    the same type as the elements to be joined. Because these elements can
    be an empty list, this type needs to be inferred from the type of the
    input stream.
    jap committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    a0c5d9a View commit details
    Browse the repository at this point in the history
  2. Advertise support for the string parser to also work on bytes.

    Note that this already worked, except the type annotation was wrong
    and there were no tests.
    jap committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    be1cbc0 View commit details
    Browse the repository at this point in the history