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