News for hackers. Stuff that matters.
Re:Plumbum: A lazy, constant-memory streaming data Rust library by twic on Sunday October 11, 2015 @01:31PM (#10370136)
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?

Re:Plumbum: A lazy, constant-memory streaming data Rust library by srijs on Sunday October 11, 2015 @08:51PM (#10371898)
Author here. Slightly simplifying, a Kleisli arrow is just a function from `A` to `M<B>`, and which is composable, similar to function composition:

    Kleisli<M, A, B> + Kleisli<M, B, C> = Kleisli<M, A, C>
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 by allan_s on Monday October 12, 2015 @04:29PM (#10376794)
i think the word has its place in the doc, but with the kind of explanation you've just put :)
Re:Plumbum: A lazy, constant-memory streaming data Rust library by allan_s on Sunday October 11, 2015 @03:03PM (#10370469)
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 by agf on Sunday October 11, 2015 @03:37AM (#10368448)
Another "taken" library name: https://plumbum.readthedocs.org/en/latest/ (I used it a bit and contributed a small usability patch a couple of years ago.)
Re:Plumbum: A lazy, constant-memory streaming data Rust library by startling on Sunday October 11, 2015 @05:00AM (#10368618)
Are duplicate library names a problem? It should be clear from context (Python vs Rust) which one people mean, and it seems unreasonable to expect people to continue creating unique names indefinitely.
Re:Plumbum: A lazy, constant-memory streaming data Rust library by kzrdude on Sunday October 11, 2015 @08:49AM (#10369088)
We have one namespace in the Rust community to adhere to, and that's the crates.io namespace, where packages have to have unique names. I think that's all you need to watch out for realistically.
Re:Plumbum: A lazy, constant-memory streaming data Rust library by lumpypua on Sunday October 11, 2015 @07:07AM (#10368915)
Can we please have plumbum-contrib named plumbus instead?

https://www.youtube.com/watch?v=eMJk4y9NGvE

Re:Plumbum: A lazy, constant-memory streaming data Rust library by cmpb on Sunday October 11, 2015 @11:49AM (#10369724)
Ah, I was hoping for a Rick and Morty comment. Such a great show
Re:Plumbum: A lazy, constant-memory streaming data Rust library by artificial on Sunday October 11, 2015 @05:25PM (#10371135)
I always wondered how Plumbises were made.
Re:Plumbum: A lazy, constant-memory streaming data Rust library by okasaki on Sunday October 11, 2015 @01:47PM (#10370199)
Orange is an unfortunate color for links, since many people are probably used to it signifying "this link is invalid" from wikipedia.
Re:Plumbum: A lazy, constant-memory streaming data Rust library by mockery on Sunday October 11, 2015 @02:26PM (#10370338)
Yeah, it wasn't until I read your comment that I realized that 'Kleisli' was documented. I suspect I've been making a similar mistake any time I peruse Rust documentation. (I don't write any Rust myself, or I assume I'd have figured it out by now.)
Re:Plumbum: A lazy, constant-memory streaming data Rust library by nutate on Sunday October 11, 2015 @12:01PM (#10369772)
This is somewhat similar to the streaming producer/consumer from another rust crate: https://github.com/Geal/nom perhaps they could be interoperable.