Comments (2)
This is strictly about what inherent methods we want to copy from Iterator
onto the new range types. Anything else that can be implemented on the existing range types should go through the ACP process
from rust.
Would a cartesian_product
method be within scope or is this issue strictly about copying methods from Iterator
?
Implementing a cartesian_product
is my primary use of flat_map
on ranges and what I've seen in the wild. Being an inherent method, it might be possible to write a more optimized version in std than a user would naively write as well.
from rust.
Related Issues (20)
- Duplicate argument names allowed in extern function declarations HOT 2
- [const_closures, const_mut_refs, effects] thread 'rustc' panicked at rustc_middle/src/ty/util.rs:945:22: ConstContext::Maybe must have host effect param HOT 1
- Invalid Program with `tokio::fs::File` creates Type Dependency Cycle (E0391)
- Allow moving out of `&'static mut T` HOT 17
- `alloc::System` docs contradict "the default global allocator is unspecified"
- ICE: `cannot convert ReLateParam to a region vid` HOT 4
- ICE: `Encountered unexpected type in ConstructorSet::for_ty` in `rustc_pattern_analysis/src/rustc.rs` HOT 1
- `std::env::remove_var()` becomes `unsafe` even in Rust 2021 HOT 13
- ICE: `Result::unwrap()` on an `Err` value: `NoMatch(…)` HOT 3
- ICE: effects: expected region for `'x/#1` (`'x/#1/1`) but found `Type(())` when instantiating args=`[false, ()]` HOT 1
- Inaccurate recognition of lifetime HOT 2
- ICE: `unimplemented: inhabitedness checking for inherent projections` in `rustc_middle/src/ty/inhabitedness/mod.rs` HOT 1
- ICE: `upvar_tys called before capture types are inferred` in `rustc_type_ir/src/ty_kind/closure.rs` HOT 7
- Tracking Issue for `integer_sign_cast` HOT 4
- ICE: Should not be resolving bound region HOT 3
- ICE: icnr comp: type variable should not be hashed
- ICE: Unexpected type for constructor `Variant(1)` HOT 3
- Generic `(&A -> T) -> (&'a A -> Box<dyn Any + 'a>)` crashes HOT 2
- Support for 'split-debuginfo' on wasm targets HOT 1
- compiletest: more consistent handling of bool-like env vars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.