Live data from Hacker News

Plumbum: A lazy, constant-memory streaming data Rust library

srijs.github.io

11–14 of 14 posts

Re: Plumbum: A lazy, constant-memory streaming data Rust library

#11
post #8

I see that a Kleisli arrow is involved somehow. I have no idea what a Kleisli arrow is. Would i have to learn in order to use this library? Is the involvement of a Kleisli arrow strictly necessary?

I was wondering the same, especially as it comes out naturally as it was something obvious

Re: Plumbum: A lazy, constant-memory streaming data Rust library

#13
post #8

I see that a Kleisli arrow is involved somehow. I have no idea what a Kleisli arrow is. Would i have to learn in order to use this library? Is the involvement of a Kleisli arrow strictly necessary?

Author here. Slightly simplifying, a Kleisli arrow is just a function from `A` to `M`, and which is composable, similar to function composition:

    Kleisli + Kleisli = Kleisli
Although it is an important part of how the conduits work, it is not strictly necessary for using the library.

Would it help if I clarified that somewhere, or would you rather not read "Kleisli" anywhere in the docs?

Re: Plumbum: A lazy, constant-memory streaming data Rust library

#14
post #13
post #8

I see that a Kleisli arrow is involved somehow. I have no idea what a Kleisli arrow is. Would i have to learn in order to use this library? Is the involvement of a Kleisli arrow strictly necessary?

Author here. Slightly simplifying, a Kleisli arrow is just a function from `A` to `M `, and which is composable, similar to function composition: Kleisli + Kleisli = Kleisli Although it is an important part of how the conduits work, it is not strictly necessary for using the library. Would it help if I clarified that somewhere, or would you rather not read "Kleisli" anywhere in the docs?

i think the word has its place in the doc, but with the kind of explanation you've just put :)
Post reply on HN