Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rice Wine
Iris
Commits
dbb8d7c9
Commit
dbb8d7c9
authored
May 29, 2016
by
Robbert Krebbers
Browse files
Functions are inhabited.
parent
672dff6d
Changes
1
Show whitespace changes
Inline
Side-by-side
prelude/base.v
View file @
dbb8d7c9
...
...
@@ -306,6 +306,9 @@ Notation "(∘)" := compose (only parsing) : C_scope.
Notation
"( f ∘)"
:
=
(
compose
f
)
(
only
parsing
)
:
C_scope
.
Notation
"(∘ f )"
:
=
(
λ
g
,
compose
g
f
)
(
only
parsing
)
:
C_scope
.
Instance
impl_inhabited
{
A
}
`
{
Inhabited
B
}
:
Inhabited
(
A
→
B
)
:
=
populate
(
λ
_
,
inhabitant
).
(** Ensure that [simpl] unfolds [id], [compose], and [flip] when fully
applied. *)
Arguments
id
_
_
/.
...
...
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