Module type State_builder.Counter

module type Counter = sig .. end

val next : unit -> int

Increments the counter and returns a fresh value

val get : unit -> int
val self : State.t