Skip to content
Snippets Groups Projects
Commit 96e5b762 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Destructor for dec_agree.

parent c5f3fc77
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ Inductive dec_agree (A : Type) : Type := ...@@ -10,6 +10,8 @@ Inductive dec_agree (A : Type) : Type :=
| DecAgreeBot : dec_agree A. | DecAgreeBot : dec_agree A.
Arguments DecAgree {_} _. Arguments DecAgree {_} _.
Arguments DecAgreeBot {_}. Arguments DecAgreeBot {_}.
Instance maybe_DecAgree {A} : Maybe (@DecAgree A) := λ x,
match x with DecAgree a => Some a | _ => None end.
Section dec_agree. Section dec_agree.
Context {A : Type} `{ x y : A, Decision (x = y)}. Context {A : Type} `{ x y : A, Decision (x = y)}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment