aG0aep6G
e1dbed97d8
fix issue 19765 - std.algorithm.searching.findAmong doesn't save
like it should
2019-03-26 20:43:36 +01:00
Arun Chandrasekaran
744e15aed1
canFind: added example to search for multiple needles in an array of hay stacks.
2018-12-11 00:44:03 -08:00
Sebastian Wilzbach
887f7558e0
Fix Issue 13683 - More precise error message for wrong lambda
2018-11-15 15:05:03 +10:00
Per Nordlöw
6b64ed9d57
Fix Issue 19366 - Qualify opCast(bool) as const for findSplit, findSplitBefore and findSplitAfter.
2018-11-05 10:48:27 -05:00
Sebastian Wilzbach
eb6d449aa4
Fix dxml regression in multiple arguments skipOver
2018-08-20 14:05:54 +02:00
The Dlang Bot
1e3272746a
Merge pull request #6143 from wilzbach/skipOver
...
Fix Issue 12335 - std.algorithm.skipOver should support multiple args like startsWith
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-08-15 17:06:39 +02:00
aG0aep6G
0b8f203041
fix issue 19023 - findSplitBefore and findSplitAfter give wrong bool result
2018-06-24 23:00:00 +02:00
aG0aep6G
93faca7ed5
fix issue 19020 - findSkip, findSplit and findSplitBefore return wrong results
2018-06-24 22:49:55 +02:00
Sebastian Wilzbach
dca849389f
Fix Issue 12335 - std.algorithm.skipOver should support multiple args like startsWith
2018-06-07 19:17:20 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
4c016d129f
Remove superfluous _range used to avoid auto-highlighting
2018-04-09 21:31:57 +02:00
Sebastian Wilzbach
64d3a078d3
Fix Issue 17982 - Support for const(Class) in algorithm.searching.extremum
2018-04-05 07:19:44 +02:00
Walter Bright
71276b2ef1
Merge pull request #6246 from carblue/dip1000_7
...
std.algorithm.searching: Fix a -dip1000 compilable issue
2018-03-27 17:28:39 -07:00
Sebastian Wilzbach
87301eb1b5
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-03-25 18:23:14 +02:00
Sebastian Wilzbach
8f86a0d734
Fix if constraints indentation
2018-03-24 13:17:53 +01:00
carblue
a540bb2d0a
std.algorithm.searching: Fix -dip1000 compilable issues
2018-03-17 11:56:39 +01:00
The Dlang Bot
42e8b19885
Merge pull request #6284 from wilzbach/std-algo-searching-mismatch
...
std.algorithm: remove mismatch from the std.algorithm.searching overview
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-16 17:54:41 +01:00
The Dlang Bot
7ac39eff7a
Merge pull request #6144 from wilzbach/traits-is-same-min-max
...
Use __traits(isSame) for min,maxElement
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-16 16:54:04 +01:00
Sebastian Wilzbach
c159ccf2ea
std.algorithm: remove mismatch from the std.algorithm.searching overview
2018-03-16 05:03:11 +01:00
Sebastian Wilzbach
4fe5518ce0
std.algorithm fix typo in reference to std.range.SortedRange
2018-03-16 04:55:48 +01:00
Sebastian Wilzbach
adf6113eb9
Fix Issue 18492 - DLang STL links are broken
2018-02-23 04:31:09 +01:00
The Dlang Bot
8d525413a7
Merge pull request #6151 from wilzbach/fix-dscanner
...
Fix all DScanner warnings + use -return-exit-code re-enable it
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-02-13 00:25:26 +01:00
Jack Stouffer
a239bd1493
Remove auto-decoding from startsWith when Needles are all narrow chars
2018-02-12 15:34:14 -05:00
Sebastian Wilzbach
d9830b739e
Fix DScanner warnings
2018-02-10 22:46:32 +01:00
Sebastian Wilzbach
d30fa6728e
Add more tests to cover the optimized {min,max}Element
2018-02-08 17:43:02 +01:00
Sebastian Wilzbach
64204177e5
Use __traits(isSame) for min,maxElement
2018-02-08 17:38:55 +01:00
Jack Stouffer
a6688108a1
Simplify the example for find
2018-02-02 09:13:39 -05:00
The Dlang Bot
2ff0a05ca0
Merge pull request #6090 from wilzbach/algo-doc-grouping
...
Group documentation in std.algorithm
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-02-02 14:51:36 +01:00
Jack Stouffer
7b3554b793
Merge pull request #6098 from JackStouffer/balancedParens
...
Removed auto-decoding from std.algorithm.searching.balancedParens
2018-01-30 12:14:27 -05:00
Jack Stouffer
da731e632a
Merge pull request #6093 from n8sh/algorithm-startswith-length
...
Fix Issue 18328 - algorithm.startsWith can compare narrow string leng…
2018-01-30 10:30:38 -05:00
Jack Stouffer
db1e5f80fb
Removed auto-decoding from std.algorithm.searching.balancedParens
2018-01-30 10:28:07 -05:00
Sebastian Wilzbach
ba7af41793
Group documentation in std.algorithm.searching + small fixes
2018-01-30 15:25:38 +01:00
Nathan Sashihara
361a5c55cc
Fix Issue 18329 - std.algorithm.startsWith & endsWith can sometimes statically determine decoding unnecessary
2018-01-29 21:44:59 -05:00
Andrei Alexandrescu
0c31e41aa6
Update searching.d
2018-01-29 21:36:46 -05:00
Nathan Sashihara
b4ad39a8b6
Fix Issue 18328 - algorithm.startsWith can compare narrow string lengths in more circumstances
2018-01-29 21:25:01 -05:00
Jacob Carlborg
83adbc3079
Revert "findSplit: return named tuples instead of an anonymous tuple"
2018-01-27 16:23:24 +01:00
Sebastian Wilzbach
651c30207e
std.algorithm.searching.findSplit
returns a named tuple
...
- `std.algorithm.searching.findSplit`
- `std.algorithm.searching.findSplitBefore`
- `std.algorithm.searching.findSplitAfter`
will return a named tuple tuple instead of an anonymous tuple:
2018-01-17 12:50:00 +01:00
Martin Nowak
3a8300a9f6
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-01-16 04:59:35 +01:00
growlercab
347b5a3164
Update searching.d
...
Minor change to minElement example to remove ambiguity between min element value and min element index.
2018-01-16 02:02:31 +01:00
The Dlang Bot
f3189822ab
Merge pull request #5989 from wilzbach/static-foreach
...
Use static foreach in Phobos
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-01-03 19:05:07 +01:00
Sebastian Wilzbach
7de3787876
Use static foreach in Phobos
2018-01-03 17:30:11 +01:00
The Dlang Bot
db2d2413b4
Merge pull request #5970 from wilzbach/markdownify-algorithm
...
Markdownify std.algorithm
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-03 15:44:56 +01:00
Martin Nowak
ac821be1de
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-12-30 19:15:43 +01:00
Dragos Carp
2b5d643337
Fix 'among' doc link in std.algorithm.searching
2017-12-30 02:23:32 +01:00
Sebastian Wilzbach
8227e00cd9
Manual fixup
2017-12-29 01:48:45 +01:00
Sebastian Wilzbach
fc0c29f3a2
Markdownify std.algorithm
...
Done with: https://github.com/wilzbach/dscanner-fix/blob/master/d_code_markdown.d
2017-12-29 01:17:40 +01:00
Sebastian Wilzbach
415728e086
Remove std.stdio debug output
2017-12-29 00:20:07 +01:00
Sebastian Wilzbach
1d02ff4877
Fix typo
2017-12-29 00:19:59 +01:00
Sebastian Wilzbach
60fba5706d
Merge pull request #5576 from wilzbach/algo-skipover
...
[RFC] Make std.algorithm.searching.skipOver an eponymous template to allow partial instantiation
2017-12-02 14:31:26 +01:00
Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00