Documentation

Projects.Util.List.Defs

def mkList {α : Type u_1} (n : ℕ) (f : ℕ → α) :
List α
Equations
Instances For
    def List.init {α : Type u_4} :
    List α → List α
    Equations
    Instances For
      def List.combinations {α : Type u_1} (xs : List α) (n : ℕ) :
      List (List α)
      Equations
      Instances For
        Equations
        Instances For
          def List.mapWith {α : Type u_1} {β : Type u_2} (xs : List α) (f : (x : α) → x ∈ xs → β) :
          List β
          Equations
          Instances For
            noncomputable def List.dfltMapWith {α : Type u_1} {β : Type u_2} {xs : List α} (f : (x : α) → x ∈ xs → β) (h : xs ≠ []) :
            β
            Equations
            Instances For
              def List.foldlWith {α : Type u_1} {β : Sort u_4} (xs : List α) (f : β → (x : α) → x ∈ xs → β) (z : β) :
              β
              Equations
              Instances For
                def List.toSet {α : Type u_1} (xs : List α) :
                Set α
                Equations
                Instances For
                  def List.toVec {α : Type u_1} (xs : List α) :
                  Fin xs.length → α
                  Equations
                  Instances For
                    def List.min!! {α : Type u_1} [Min α] [Top α] (xs : List α) :
                    α
                    Equations
                    Instances For
                      def List.max!! {α : Type u_1} [Max α] [Bot α] (xs : List α) :
                      α
                      Equations
                      Instances For
                        def List.flatIdx₁ {α : Type u_1} (L : List (List α)) (i : ℕ) :
                        Equations
                        Instances For
                          def List.flatIdx₂ {α : Type u_1} (L : List (List α)) (i : ℕ) :
                          Equations
                          Instances For
                            noncomputable def List.countP! {α : Type u_1} (xs : List α) (p : α → Prop) :
                            Equations
                            Instances For
                              noncomputable def List.changesNum {α : Type u_1} (xs : List α) :
                              Equations
                              Instances For
                                @[irreducible]
                                def List.batches {α : Type u_1} (xs : List α) (n : ℕ) :
                                List (List α)
                                Equations
                                Instances For
                                  noncomputable def List.filter! {α : Type u_1} (p : α → Prop) (xs : List α) :
                                  List α
                                  Equations
                                  Instances For