quicli icon indicating copy to clipboard operation
quicli copied to clipboard

Add itertools?

Open killercup opened this issue 7 years ago • 3 comments

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?

killercup avatar Jan 21 '18 20:01 killercup

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.

spease avatar Jan 31 '18 23:01 spease

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 [email protected] 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 .

killercup avatar Feb 01 '18 02:02 killercup

Usually I just use itertools::Itertools

Usually for join, sorted_by, etc

On Jan 31, 2018, at 18:25, Pascal Hertleif [email protected] 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 [email protected] 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.

spease avatar Feb 01 '18 09:02 spease