660 B
660 B
- The
Leanmodule has switched fromLean.HashMapandLean.HashSettoStd.HashMapandStd.HashSet.Lean.HashMapandLean.HashSetare now deprecated and will be removed in a future release. Users ofLeanAPIs that interact with hash maps, for exampleLean.Environment.const2ModIdx, might encounter minor breakage due to the following breaking changes fromLean.HashMaptoStd.HashMap:- query functions use the term
getinstead offind, - the notation
map[key]no longer returns an optional value but expects a proof that the key is present in the map instead. The previous behavior is available via themap[key]?notation.
- query functions use the term