Length-indexed vectors and cardinality-bounded index types.
This is not an officially supported Google product.
This repository is home to several packages implementing finite sets of ordinal numbers and length-indexed short vectors, as well as supporting and derived functionality.
-
sintimplements a singleton type for type-levelNatrepresented byInt. -
fin-intimplements bounded index types represented byInt. -
short-vecimplements length-indexed vectors on top ofSmallArray#. -
finite-tableimplementsVec-based lookup tables over finite enum types.