Documentation

Regex.Syntax.Parser.Combinators.Result

inductive Regex.Syntax.Parser.Combinators.Result {s : String} (strict : Bool) (p : s.ValidPos) (ε α : Type) :
Instances For
    @[inline]
    def Regex.Syntax.Parser.Combinators.Result.cast {s : String} {strict₁ strict₂ : Bool} {p : s.ValidPos} {ε α : Type} (h : strict₁ = strict₂) (res : Result strict₁ p ε α) :
    Result strict₂ p ε α
    Equations
    Instances For
      @[inline]
      def Regex.Syntax.Parser.Combinators.Result.weaken {s : String} {strict : Bool} {p : s.ValidPos} {ε α : Type} (res : Result strict p ε α) :
      Result false p ε α
      Equations
      Instances For
        @[inline]
        def Regex.Syntax.Parser.Combinators.Result.map {s : String} {strict : Bool} {p : s.ValidPos} {ε α β : Type} (f : αβ) :
        Result strict p ε αResult strict p ε β
        Equations
        Instances For
          @[inline]
          def Regex.Syntax.Parser.Combinators.Result.seq {s : String} {strict : Bool} {p : s.ValidPos} {ε α β : Type} (mf : Result strict p ε (αβ)) (mx : UnitResult strict p ε α) :
          Result strict p ε β
          Equations
          Instances For
            @[inline]
            def Regex.Syntax.Parser.Combinators.Result.seqLeft {s : String} {strict : Bool} {p : s.ValidPos} {ε α β : Type} (mx : Result strict p ε α) (my : UnitResult strict p ε β) :
            Result strict p ε α
            Equations
            Instances For
              @[inline]
              def Regex.Syntax.Parser.Combinators.Result.seqRight {s : String} {strict : Bool} {p : s.ValidPos} {ε α β : Type} (mx : Result strict p ε α) (my : UnitResult strict p ε β) :
              Result strict p ε β
              Equations
              Instances For
                @[inline]
                instance Regex.Syntax.Parser.Combinators.Result.instHOrElseAnd {s : String} {strict₁ strict₂ : Bool} {p : s.ValidPos} {ε α : Type} :
                HOrElse (Result strict₁ p ε α) (Result strict₂ p ε α) (Result (strict₁ && strict₂) p ε α)
                Equations
                @[inline]
                instance Regex.Syntax.Parser.Combinators.Result.instMonadExceptOf {s : String} {strict : Bool} {p : s.ValidPos} {ε : Type} :
                MonadExceptOf ε (Result strict p ε)
                Equations
                • One or more equations did not get rendered due to their size.
                @[inline]
                Equations
                • One or more equations did not get rendered due to their size.