Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#15434. (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot committed Apr 12, 2022
1 parent 0ac3d52 commit 78b499b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/ListUtil.v
Expand Up @@ -2840,7 +2840,7 @@ Ltac rewrite_fold_left_fun_apply :=
Definition span_cps' {A} (f : A -> bool) {T} (k : list A * list A -> T)
:= fix span_cps' (ls : list A) (prefix : list A) : T
:= match ls with
| nil => k (List.rev prefix, nil)
| nil => k (List.rev prefix, ls)
| x :: xs => if f x then span_cps' xs (x :: prefix) else k (List.rev prefix, ls)
end.

Expand Down

0 comments on commit 78b499b

Please sign in to comment.