killercup / quicli

Quickly build cool CLI apps in Rust.
https://killercup.github.io/quicli/
Apache License 2.0
540 stars 31 forks source link

Add itertools? #3

Open killercup opened 6 years ago

killercup commented 6 years ago

Do typical Rust CLI apps use iterators a lot? Do they benefit from the convenience functions that itertools provides?

Will new Rust users discover, understand, and use these methods if we re-export the Itertools trait?

spease commented 6 years ago

I came here to suggest it. I've used itertools in nearly every Rust project I've done.

Can't say whether new Rust users will discover, understand, and use the methods. It's not terribly clear right now what libraries quicli includes - it could be featured more prominently. I ultimately just checked the source code because it was quick enough.

killercup commented 6 years ago

Thanks! Can you say which parts of itertools you used and which problems you were able to solve with it?

(I don't yet advertise which crates quicli includes because the list is super unstable right now)

spease notifications@github.com schrieb am Do. 1. Feb. 2018 um 00:48:

I came here to suggest it. I've used itertools in nearly every Rust project I've done.

Can't say whether new Rust users will discover, understand, and use the methods. It's not terribly clear right now what libraries quicli includes - it could be featured more prominently. I ultimately just checked the source code because it was quick enough.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/killercup/quicli/issues/3#issuecomment-362109894, or mute the thread https://github.com/notifications/unsubscribe-auth/AABOX1oDMF4bKMbEZpTFjtjSWcChoJYHks5tQPvZgaJpZM4Rl8pQ .

spease commented 6 years ago

Usually I just use itertools::Itertools

Usually for join, sorted_by, etc

On Jan 31, 2018, at 18:25, Pascal Hertleif notifications@github.com wrote:

Thanks! Can you say which parts of itertools you used and which problems you were able to solve with it?

(I don't yet advertise which crates quicli includes because the list is super unstable right now)

spease notifications@github.com schrieb am Do. 1. Feb. 2018 um 00:48:

I came here to suggest it. I've used itertools in nearly every Rust project I've done.

Can't say whether new Rust users will discover, understand, and use the methods. It's not terribly clear right now what libraries quicli includes - it could be featured more prominently. I ultimately just checked the source code because it was quick enough.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/killercup/quicli/issues/3#issuecomment-362109894, or mute the thread https://github.com/notifications/unsubscribe-auth/AABOX1oDMF4bKMbEZpTFjtjSWcChoJYHks5tQPvZgaJpZM4Rl8pQ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.