Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#19228. (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot authored Jul 27, 2024
1 parent dc100dd commit 5a9a1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theories/Util/Option.v
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Definition is_Some {A} (x : option A) : bool
Lemma is_None_eq_None_iff {A x} : @is_None A x = true <-> x = None.
Proof. destruct x; cbv; split; congruence. Qed.

Definition invert_Some {A} (x : option A)
Definition invert_Some {A : Type} (x : option A)
: (if x then A else unit)
:= match x with
| Some x' => x'
Expand Down

0 comments on commit 5a9a1b7

Please sign in to comment.