Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joshua Yanovski
iris-coq
Commits
bf59ec9e
Commit
bf59ec9e
authored
Sep 20, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Destructors for csum.
parent
481992cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
algebra/csum.v
algebra/csum.v
+5
-0
No files found.
algebra/csum.v
View file @
bf59ec9e
...
...
@@ -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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment