Skip to content

Commit

Permalink
Removed unused function list_init
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-almeida committed Feb 19, 2024
1 parent 15ea240 commit 644890d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions theories/Common/Utils.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ Local Open Scope Z_scope.
Local Open Scope bool_scope.


Fixpoint list_init {A:Type} (n:nat) (f:nat -> A): list A
:=
match n with
| O => []
| S n => (f n) :: list_init n f
end.

(** Inlike OCaml version if lists have different sizes, we just terminate
after consuming the shortest one, without signaling error *)
Fixpoint fold_left2 {A B C:Type} (f: A -> B -> C -> A) (accu:A) (l1:list B) (l2:list C): A :=
Expand Down

0 comments on commit 644890d

Please sign in to comment.