Skip to content

Detect silly error with S.lines on a stream that is already lines. #9

Description

@rrnewton

Ok, I confess, I committed this silly error. No stream output ever emerges because it keeps accumulating an infinitely long line.

It might help to have a version of "lines" that at least throws an error if the line size gets over a certain length (or split after that length). Or perhaps there is some better way to help debug this silliness... I guess I kind of want a newtype for InputStream ByteStrings that represent lines (implicit newline) vs. those that don't.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions