Fixpoint3.UniqueInts
Definitions
Returns the index of val generated by state.
If an index does not exist for val it is created.
Otherwise the existing index for val is returned.
def empty(rc: Region[r]): UniqueInts[k, r] \ r
SourceReturns an empty mapping from k to identifiers.
def get(state: UniqueInts[k, r]): Int32 \ r
SourceReturns the maximal assigned identifier of state.
Returns an ReverseUniqueInts of state allowing mapping identifiers
back to the values they represent.
def toMap(state: UniqueInts[k, r]): Map[k, Int32] \ r
SourceReturns the current mapping of state as a map.