mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
Split iteration functions into own submodule.
This commit is contained in:
parent
28feb36b6e
commit
9dc4c34379
5 changed files with 3774 additions and 3737 deletions
|
@ -196,7 +196,8 @@ STD_NET_MODULES = $(addprefix std/net/, isemail curl)
|
|||
STD_REGEX_MODULES = $(addprefix std/regex/, package $(addprefix internal/, \
|
||||
generator ir parser backtracking kickstart tests thompson))
|
||||
|
||||
STD_ALGO_MODULES = $(addprefix std/algorithm/, package comparison setops sorting)
|
||||
STD_ALGO_MODULES = $(addprefix std/algorithm/, package comparison iteration \
|
||||
setops sorting)
|
||||
|
||||
STD_RANGE_MODULES = $(addprefix std/range/, package primitives interfaces)
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
// Written in the D programming language.
|
||||
module std.algorithm.comparison;
|
||||
|
||||
import std.algorithm : filter, map, reverse; // FIXME: ugly hack
|
||||
import std.algorithm : reverse; // FIXME: ugly hack
|
||||
import std.algorithm.iteration : filter, map;
|
||||
|
||||
// FIXME
|
||||
import std.functional; // : unaryFun, binaryFun;
|
||||
|
|
3767
std/algorithm/iteration.d
Normal file
3767
std/algorithm/iteration.d
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1430,7 +1430,8 @@ unittest //safety, purity, ctfe ...
|
|||
/++
|
||||
Alias for $(XREF algorithm, _splitter).
|
||||
+/
|
||||
deprecated("Please use std.algorithm.splitter instead.") alias splitter = std.algorithm.splitter;
|
||||
deprecated("Please use std.algorithm.iteration.splitter instead.")
|
||||
alias splitter = std.algorithm.iteration.splitter;
|
||||
|
||||
/++
|
||||
Eagerly splits $(D range) into an array, using $(D sep) as the delimiter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue