mirror of
https://github.com/dlang/phobos.git
synced 2025-05-05 17:42:58 +03:00
Minor algorithm cheatsheet fixes.
This commit is contained in:
parent
29884011ec
commit
dda7f610a0
1 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ $(TR $(TDNW $(LREF boyerMooreFinder)) $(TD $(D find("hello
|
|||
world", boyerMooreFinder("or"))) returns $(D "orld") using the $(LUCKY
|
||||
Boyer-Moore _algorithm).)
|
||||
)
|
||||
$(TR $(TDNW $(LREF canFind)) $(TD $(D find("hello world",
|
||||
$(TR $(TDNW $(LREF canFind)) $(TD $(D canFind("hello world",
|
||||
"or")) returns $(D true).)
|
||||
)
|
||||
$(TR $(TDNW $(LREF count)) $(TD Counts elements that are equal
|
||||
|
@ -179,8 +179,8 @@ filter), but also provides $(D back) and $(D popBack) at a small
|
|||
increase in cost.)
|
||||
)
|
||||
$(TR $(TDNW $(LREF group)) $(TD $(D group([5, 2, 2, 3, 3]))
|
||||
returns a range containing the tuples $(D tuple(5, 1)), $(D tuple(5,
|
||||
1)), $(D tuple(2, 2)), and $(D tuple(3, 2)).)
|
||||
returns a range containing the tuples $(D tuple(5, 1)),
|
||||
$(D tuple(2, 2)), and $(D tuple(3, 2)).)
|
||||
)
|
||||
$(TR $(TDNW $(LREF joiner)) $(TD $(D joiner(["hello",
|
||||
"world!"], ";")) returns a range that iterates over the characters $(D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue