instance
EStateM.instToStringResult
{ε : Type u}
{σ : Type u}
{α : Type u}
[ToString ε]
[ToString α]
:
ToString (EStateM.Result ε σ α)
instance
EStateM.instReprResult
{ε : Type u}
{σ : Type u}
{α : Type u}
[Repr ε]
[Repr α]
:
Repr (EStateM.Result ε σ α)
@[inline]
def
EStateM.orElse'
{ε : Type u}
{σ : Type u}
{α : Type u}
{δ : Type u}
[EStateM.Backtrackable δ σ]
(x₁ : EStateM ε σ α)
(x₂ : EStateM ε σ α)
(useFirstEx : optParam Bool true)
:
EStateM ε σ α
Alternative orElse operator that allows to select which exception should be used.
The default is to use the first exception since the standard orElse
uses the second.
Instances For
@[always_inline]