State-indexed values #
@[instance_reducible]
@[instance_reducible]
instance Std.Do.SVal.instInhabitedStateTupleCons {σ : Type u_1} {σs : List (Type u_1)} [Inhabited σ] [Inhabited (StateTuple σs)] :
Inhabited (StateTuple (σ :: σs))
Curries a function taking a StateTuple into an SVal.
Instances For
@[simp]
@[simp]
theorem Std.Do.SVal.curry_cons {α σ : Type u} {σs : List (Type u)} {f : StateTuple (σ :: σs) → α} {s : σ} :
Uncurries an SVal into a function taking a StateTuple.
Instances For
@[simp]
@[simp]
Auxiliary type class used by SVal.getThe to construct a projection from a list of state types to
one of the component states.
- get : SVal σs σ
A projection from the types
σsof typeσ.
Instances
@[simp]