Commit 90c227b
fix: fix module Collections.Seq functions using a binary predicate (#6412)
Hi Robin(@robin-aws), the MaxBy() and MinBy() functionalties are using a
comparator previously. To ensure precision, @huanerw0608 changed it to
using a bianry predicate to replace the comparator functions.
---------
Co-authored-by: huanerw0608 <[email protected]>
Co-authored-by: Robin Salkeld <[email protected]>1 parent 8be5c7d commit 90c227b
File tree
10 files changed
+32
-58
lines changed- Source
- DafnyCore/GeneratedFromDafny
- DafnyStandardLibraries
- binaries
- examples/TargetSpecific
- src/Std/Collections
10 files changed
+32
-58
lines changedLines changed: 14 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
| 204 | + | |
206 | 205 | | |
207 | 206 | | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
| 212 | + | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
217 | | - | |
| 216 | + | |
218 | 217 | | |
219 | | - | |
| 218 | + | |
220 | 219 | | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
227 | | - | |
228 | | - | |
| 226 | + | |
229 | 227 | | |
230 | 228 | | |
231 | | - | |
232 | | - | |
| 229 | + | |
| 230 | + | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
236 | | - | |
| 234 | + | |
237 | 235 | | |
238 | 236 | | |
239 | 237 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 127 | | |
137 | 128 | | |
138 | 129 | | |
139 | 130 | | |
140 | 131 | | |
141 | 132 | | |
142 | | - | |
143 | | - | |
| 133 | + | |
| 134 | + | |
144 | 135 | | |
145 | | - | |
146 | | - | |
| 136 | + | |
| 137 | + | |
147 | 138 | | |
148 | | - | |
| 139 | + | |
Lines changed: 12 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
| 452 | + | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
459 | 458 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
475 | 464 | | |
476 | 465 | | |
477 | 466 | | |
478 | | - | |
| 467 | + | |
479 | 468 | | |
480 | 469 | | |
481 | | - | |
482 | | - | |
| 470 | + | |
483 | 471 | | |
484 | 472 | | |
485 | 473 | | |
486 | 474 | | |
487 | 475 | | |
488 | 476 | | |
489 | | - | |
490 | | - | |
491 | | - | |
| 477 | + | |
| 478 | + | |
492 | 479 | | |
493 | 480 | | |
494 | | - | |
495 | | - | |
496 | 481 | | |
497 | 482 | | |
498 | 483 | | |
| |||
0 commit comments