forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core
David Mak 77de24ef74 core: Use BTreeMap for type variable mapping
There have been multiple instances where I had the need to iterate over
type variables, only to discover that the traversal order is arbitrary.

This commit fixes that by adding SortedMapping, which utilizes BTreeMap
internally to guarantee a traversal order. All instances of VarMap are
now refactored to use this to ensure that type variables are iterated in
 the order of its variable ID, which should be monotonically incremented
 by the unifier.
2024-03-04 23:56:04 +08:00
..
src core: Use BTreeMap for type variable mapping 2024-03-04 23:56:04 +08:00
Cargo.toml core: Update cargo dependencies 2024-02-23 15:41:04 +08:00
build.rs core: Do not discard value names for IRRT 2023-12-20 15:16:02 +08:00