Skip to content

General purpose and usefuleness of StreamT<M, A> #1415

Answered by micmarsh
NonExisto asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not Paul, but I believe the purpose of StreamT is precisely that it "behaves like IO"; you can stream and transform values akin to an Observable, but can also run side effects in a principled, functional way. The value proposition is thus, like the entirety of the rest of the library, more related to composability and maintainability of client code, and other qualitative things, rather than specific quantitative measures necessarily (although there's always room for improvement).

Since the purpose and usefulness of StreamT thus bound up with the usefulness of the IO monad in general, It's not surprising that very basic collection processing tasks, such as retrieving the last value, ar…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@NonExisto
Comment options

Answer selected by louthy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants