We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ea240 commit 644890dCopy full SHA for 644890d
theories/Common/Utils.v
@@ -19,13 +19,6 @@ Local Open Scope Z_scope.
19
Local Open Scope bool_scope.
20
21
22
-Fixpoint list_init {A:Type} (n:nat) (f:nat -> A): list A
23
- :=
24
- match n with
25
- | O => []
26
- | S n => (f n) :: list_init n f
27
- end.
28
-
29
(** Inlike OCaml version if lists have different sizes, we just terminate
30
after consuming the shortest one, without signaling error *)
31
Fixpoint fold_left2 {A B C:Type} (f: A -> B -> C -> A) (accu:A) (l1:list B) (l2:list C): A :=
0 commit comments