Fixpoint3.Counter
Definitions
def fresh(rc: Region[r]): Counter[r] \ r
SourceReturns a fresh Counter initialized to 0.
def get(counter: Counter[r]): Int32 \ r
SourceReturns the state of counter.
def getAndIncrement(counter: Counter[r]): Int32 \ r
SourceReturns the state of counter and increments it.
def increment(counter: Counter[r]): Unit \ r
SourceIncrements the state of counter.
def set(i: Int32, counter: Counter[r]): Unit \ r
SourceSets the state of counter to i.