Documentation

Regex.Syntax.Parser.Combinators.Parser

@[reducible, inline]
abbrev Regex.Syntax.Parser.Combinators.Parser (s : String) (strict : Bool) (ε α : Type) :

Total parser combinators a la idris2-parser.

s controls whether the input is strictly decreasing.

Equations
Instances For
    @[inline]
    def Regex.Syntax.Parser.Combinators.Parser.imp {s : String} {strict₁ strict₂ : Bool} {ε α : Type} (h : strict₂ = truestrict₁ = true) :
    Parser s strict₁ ε αParser s strict₂ ε α
    Equations
    Instances For
      @[inline]
      def Regex.Syntax.Parser.Combinators.Parser.weaken {s : String} {strict : Bool} {ε α : Type} :
      Parser s strict ε αParser s false ε α
      Equations
      Instances For
        @[inline]
        def Regex.Syntax.Parser.Combinators.Parser.cast {s : String} {strict₁ strict₂ : Bool} {ε α : Type} (h : strict₁ = strict₂) :
        Parser s strict₁ ε αParser s strict₂ ε α
        Equations
        Instances For
          @[inline]
          def Regex.Syntax.Parser.Combinators.Parser.opt {s : String} {strict : Bool} {ε α : Type} :
          Parser s strict ε αParser s false ε (Option α)
          Equations
          • x✝¹.opt x✝ = (x✝¹ x✝).opt
          Instances For
            @[inline]
            def Regex.Syntax.Parser.Combinators.Parser.guard {s : String} {strict : Bool} {ε α β : Type} (f : αExcept ε β) :
            Parser s strict ε αParser s strict ε β
            Equations
            Instances For
              @[inline]
              def Regex.Syntax.Parser.Combinators.Parser.complete {s : String} {strict : Bool} {ε α : Type} (expectedEof : ε) :
              Parser s strict ε αParser s strict ε α
              Equations
              Instances For
                @[inline]
                def Regex.Syntax.Parser.Combinators.Parser.debug {s : String} {strict : Bool} {ε α : Type} [ToString α] (name : String) (p : Parser s strict ε α) :
                Parser s strict ε α
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[inline]
                  def Regex.Syntax.Parser.Combinators.Parser.commit {s : String} {strict : Bool} {ε α : Type} :
                  Parser s strict ε αParser s strict ε α
                  Equations
                  Instances For
                    @[inline]
                    def Regex.Syntax.Parser.Combinators.Parser.map {s : String} {strict : Bool} {ε α β : Type} (f : αβ) :
                    Parser s strict ε αParser s strict ε β
                    Equations
                    Instances For
                      @[inline]
                      def Regex.Syntax.Parser.Combinators.Parser.mapConst {s : String} {strict : Bool} {ε α β : Type} (a : α) :
                      Parser s strict ε βParser s strict ε α
                      Equations
                      Instances For
                        @[inline]
                        def Regex.Syntax.Parser.Combinators.Parser.seq {s : String} {strict : Bool} {ε α β : Type} (p : Parser s strict ε (αβ)) (q : UnitParser s strict ε α) :
                        Parser s strict ε β
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          @[inline]
                          def Regex.Syntax.Parser.Combinators.Parser.seqLeft {s : String} {strict : Bool} {ε α β : Type} (p : Parser s strict ε α) (q : UnitParser s strict ε β) :
                          Parser s strict ε α
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            @[inline]
                            def Regex.Syntax.Parser.Combinators.Parser.seqRight {s : String} {strict : Bool} {ε α β : Type} (p : Parser s strict ε α) (q : UnitParser s strict ε β) :
                            Parser s strict ε β
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              @[inline]
                              def Regex.Syntax.Parser.Combinators.Parser.hOrElse {s : String} {strict₁ strict₂ : Bool} {ε α : Type} (p : Parser s strict₁ ε α) (q : UnitParser s strict₂ ε α) :
                              Parser s (strict₁ && strict₂) ε α
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[inline]
                                def Regex.Syntax.Parser.Combinators.Parser.orElse {s : String} {strict : Bool} {ε α : Type} (p : Parser s strict ε α) (q : UnitParser s strict ε α) :
                                Parser s strict ε α
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  @[inline]
                                  def Regex.Syntax.Parser.Combinators.Parser.tryCatch {s : String} {strict : Bool} {ε α : Type} (p : Parser s strict ε α) (handle : εParser s strict ε α) :
                                  Parser s strict ε α
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    @[inline]
                                    def Regex.Syntax.Parser.Combinators.Parser.bindOr {s : String} {strict₁ strict₂ : Bool} {ε α β : Type} (p : Parser s strict₁ ε α) (f : αParser s strict₂ ε β) :
                                    Parser s (strict₁ || strict₂) ε β
                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      @[inline]
                                      def Regex.Syntax.Parser.Combinators.Parser.bind {s : String} {strict : Bool} {ε α β : Type} (p : Parser s strict ε α) (f : αParser s strict ε β) :
                                      Parser s strict ε β
                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        @[inline]
                                        instance Regex.Syntax.Parser.Combinators.Parser.instHOrElseAnd {s : String} {strict₁ strict₂ : Bool} {ε α : Type} :
                                        HOrElse (Parser s strict₁ ε α) (Parser s strict₂ ε α) (Parser s (strict₁ && strict₂) ε α)
                                        Equations
                                        @[inline]
                                        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.