tweag / tweag/linear-base

`linear-base` has a `streaming`-style `Stream` type. Should it have a `streaming-bytestring` style `ByteStream`?

Open
#435 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
359
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The streaming package has a corresponding streaming-bytestring package, with a specialised ByteStream m r type. Should linear-base adopt this convention also, and provide a linear ByteStream to parallel the linear streams it provides?

Describe the solution you'd like
A definite decision that yes, we'd like a linear ByteStream library (and would be open to a PR, even if there's no near-term plan for Tweag to build one); or no, you should be using Stream (Of ByteString).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests. Start by reviewing linear-base's existing Stream API and the streaming and streaming-bytestring package conventions; done means deciding whether to provide a linear ByteStream or use Stream (Of ByteString), with the accepted implementation scope clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.