Documentation

Duper.Util.LazyList

inductive Duper.LazyList (α : Type u) :
Instances For
    @[irreducible]
    def Duper.LazyList.size {α : Type u} :
    LazyList αNat
    Equations
    Instances For
      @[inline]
      def Duper.LazyList.pure {α : Type u} :
      αLazyList α
      Equations
      Instances For
        @[irreducible]
        def Duper.LazyList.toList {α : Type u} :
        LazyList αList α
        Equations
        Instances For
          @[irreducible]
          def Duper.LazyList.head {α : Type u} [Inhabited α] :
          LazyList αα
          Equations
          Instances For
            @[irreducible]
            def Duper.LazyList.append {α : Type u} :
            LazyList αLazyList αLazyList α
            Equations
            Instances For
              @[irreducible]
              Equations
              Instances For
                partial def Duper.LazyList.interleaveω.iωrec {α : Type u} (i j : Nat) (q : Std.Queue (LazyList α)) (x : LazyList (LazyList α)) :
                def Duper.LazyList.bindω {α : Type u} {β : Type v} (xs : LazyList α) (f : αLazyList β) :
                Equations
                Instances For
                  @[inline]
                  def Duper.LazyList.zip {α : Type u} {β : Type v} :
                  LazyList αLazyList βLazyList (α × β)
                  Equations
                  Instances For
                    @[inline]
                    def Duper.LazyList.bind {α : Type u} {β : Type v} (x : LazyList α) (f : αLazyList β) :
                    Equations
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Equations
                      • One or more equations did not get rendered due to their size.
                      @[specialize #[]]
                      partial def Duper.LazyList.iterate {α : Type u} (f : αα) :
                      αLazyList α
                      @[specialize #[]]
                      partial def Duper.LazyList.iterate₂ {α : Type u} (f : ααα) :
                      ααLazyList α
                      partial def Duper.LazyList.cycle {α : Type u} :
                      LazyList αLazyList α
                      partial def Duper.LazyList.repeats {α : Type u} :
                      αLazyList α
                      @[irreducible]
                      Equations
                      Instances For
                        def Duper.LazyList.approxToString {α : Type u} [ToString α] (as : LazyList α) (n : Nat := 10) :
                        Equations
                        Instances For