Josh Berdine
62215b81ce
[sledge] Add Map.fold_until
...
Reviewed By: ngorogiannis
Differential Revision: D27996949
fbshipit-source-id: 9b2cefccc
4 years ago
Josh Berdine
2d64afc25c
[sledge] Add Map.max_binding
...
Reviewed By: ngorogiannis
Differential Revision: D27996950
fbshipit-source-id: b7a26c79d
4 years ago
Josh Berdine
5cdd3cd781
[sledge] Minor Map interface simplifications
...
Summary:
Generalize the existing find_or_add and find_and_remove operations to
find_update. Slightly simplify the interfaces of change, update,
find_or_add, and find_and_remove, reducing the gap to the natural
underlying functionality.
Reviewed By: jvillard
Differential Revision: D26451305
fbshipit-source-id: 89f67c84d
4 years ago
Josh Berdine
a4caa0bd65
[sledge] Optimize Map operations
...
Reviewed By: jvillard
Differential Revision: D26338012
fbshipit-source-id: aa52307f1
4 years ago
Josh Berdine
dfd897d9e4
[sledge] Switch Zero-One-Many type to a standard variant
...
Reviewed By: jvillard
Differential Revision: D26338018
fbshipit-source-id: 4fe5aea9f
4 years ago
Josh Berdine
ecb1bce470
[sledge] Adapt NSMap to Comparer interface
...
Reviewed By: jvillard
Differential Revision: D26250530
fbshipit-source-id: f28355d3b
4 years ago
Josh Berdine
2df2b4cb7c
[sledge] Implement {Map,Set} using Stdlib.{Map,Set}
...
Reviewed By: ngorogiannis
Differential Revision: D26250532
fbshipit-source-id: 0347b8cba
4 years ago
Josh Berdine
de8d583f82
[sledge] Rename nonstdlib/{map,set} to nonstdlib/{NSMap,NSSet}
...
Reviewed By: ngorogiannis
Differential Revision: D26250537
fbshipit-source-id: ff1dc3751
4 years ago