Skip to content

Conversation

Etherian
Copy link
Contributor

@Etherian Etherian commented May 25, 2019

Description

Adds a Streamlike (name TBD) interface which generalizes the concept of a collection from which values can be extracted.

Related PRs

Similar concept to the Parsable interface (#687)

Status

In Development

Outstanding design questions:

None currently

To Do

  • Add useful functions
  • Add implementations for standard types
  • Add inline documentation
  • Add documentation in the book?

Prior Art

Future Directions

  • Streamlike + "Finite" -> Foldable (& Traversable)
  • Build generic Streamlike instance for all Indexable? (i.e. [Indexable a] -> Streamlike a)
    • override-able for lists?
  • Maybe a streaming library built like https://github.com/haskell-streaming/streaming, instead of this library's stream-processor-based design?
    • How would Streamlike adapters pass around Streamlikes? Rust-like? Haskell-like? Closure-based?

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.

1 participant