Module type State_builder.Counter

val next : unit -> int

Increments the counter and returns a fresh value

val get : unit -> int
  • returns

    the current value of the counter, without incrementing it.

  • since Fluorine-20130401
val self : State.t
  • since Oxygen-20120901