lucretiel / joinery Goto Github PK
View Code? Open in Web Editor NEWA Rust library for generically joining iterables with a separator
License: MIT License
A Rust library for generically joining iterables with a separator
License: MIT License
Lines 308 to 315 in 4b0233e
Join::consume_fmt has no examples in its documentation, and I can't find a way to actually use it myself.
travis ci, cratesio, docsrs, etc
Docs.rs/about
Include examples of write!
Rather than using cloneable iterators, create a new struct (deprecating Join
) which will store the container itself, for collections that impl<'a, T> IntoIterator for &'a T
If your Iterator owns its elements, cloning it might be expensive. Add a note about this to the documentation.
Blockers:
match
available in const functionschecked_mul
available as a const fnLines 651 to 661 in ec33f1d
If try_fold
exits early while processing a separator, the next element will be skipped, because it was passed to the folding function as an argument, but then never seen. This is probably insurmountable; at least, it is likely that there is no straightforward implementation of try_fold
that users the underlying iterator's try_fold
From this reddit thread: https://www.reddit.com/r/rust/comments/964bxj/is_this_pattern_sufficiently_panicsafe/e3y8i64
Similar to NoSeparator
, provide zero size or small types for common separator cases, including:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.