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

Destructors for csum.

parent 481992cf
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,11 @@ Arguments Cinl {_ _} _.
Arguments Cinr {_ _} _.
Arguments CsumBot {_ _}.
Instance maybe_Cinl {A B} : Maybe (@Cinl A B) := λ x,
match x with Cinl a => Some a | _ => None end.
Instance maybe_Cinr {A B} : Maybe (@Cinr A B) := λ x,
match x with Cinr b => Some b | _ => None end.
Section cofe.
Context {A B : cofeT}.
Implicit Types a : A.
......
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