Equations
- Cedar.Spec.instReprPatElem = { reprPrec := Cedar.Spec.instReprPatElem.repr }
Equations
- One or more equations did not get rendered due to their size.
- Cedar.Spec.instReprPatElem.repr Cedar.Spec.PatElem.star prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Cedar.Spec.PatElem.star")).group prec✝
Instances For
Equations
- Cedar.Spec.instDecidableEqPatElem.decEq Cedar.Spec.PatElem.star Cedar.Spec.PatElem.star = isTrue ⋯
- Cedar.Spec.instDecidableEqPatElem.decEq Cedar.Spec.PatElem.star (Cedar.Spec.PatElem.justChar c) = isFalse ⋯
- Cedar.Spec.instDecidableEqPatElem.decEq (Cedar.Spec.PatElem.justChar c) Cedar.Spec.PatElem.star = isFalse ⋯
- Cedar.Spec.instDecidableEqPatElem.decEq (Cedar.Spec.PatElem.justChar a) (Cedar.Spec.PatElem.justChar b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
Equations
Instances For
Equations
- Cedar.Spec.instCoeCharPatElem = { coe := fun (c : Char) => Cedar.Spec.PatElem.justChar c }
Equations
- (Cedar.Spec.PatElem.justChar c₁).lt (Cedar.Spec.PatElem.justChar c₂) = decide (c₁ < c₂)
- Cedar.Spec.PatElem.star.lt (Cedar.Spec.PatElem.justChar c) = true
- x✝¹.lt x✝ = false
Instances For
Equations
- Cedar.Spec.instLTPatElem = { lt := fun (x y : Cedar.Spec.PatElem) => x.lt y = true }
@[reducible, inline]
Equations
Instances For
Equations
- Cedar.Spec.wildcardMatch text pattern = StateT.run' (Cedar.Spec.wildcardMatchIdx✝ text.toList pattern 0 0 ⋯ ⋯) ∅