mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 23:50:31 +03:00
Move internal stuff to std.algorithm.internal
This commit is contained in:
parent
492ab0df90
commit
b55c07c63a
11 changed files with 103 additions and 95 deletions
|
@ -369,7 +369,7 @@ auto cartesianProduct(RR...)(RR ranges)
|
|||
}
|
||||
@property auto front()
|
||||
{
|
||||
import std.algorithm : algoFormat; // FIXME
|
||||
import std.algorithm.internal : algoFormat;
|
||||
import std.range : iota;
|
||||
return mixin(algoFormat("tuple(%(current[%d].front%|,%))",
|
||||
iota(0, current.length)));
|
||||
|
@ -443,7 +443,7 @@ auto cartesianProduct(R1, R2, RR...)(R1 range1, R2 range2, RR otherRanges)
|
|||
* one level of tuples so that a ternary cartesian product, for example,
|
||||
* returns 3-element tuples instead of nested 2-element tuples.
|
||||
*/
|
||||
import std.algorithm : algoFormat; // FIXME
|
||||
import std.algorithm.internal : algoFormat;
|
||||
import std.algorithm.iteration : map;
|
||||
import std.range : iota;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue