Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
stdpp
Commits
09f69b7c
Commit
09f69b7c
authored
May 03, 2019
by
Robbert Krebbers
Browse files
Set Params and maximally implicits for `head` like other list functions.
parent
1657d8d0
Pipeline
#16457
passed with stage
in 8 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theories/list.v
View file @
09f69b7c
...
...
@@ -18,10 +18,12 @@ Notation tail := tl.
Notation
take
:
=
firstn
.
Notation
drop
:
=
skipn
.
Arguments
head
{
_
}
_
:
assert
.
Arguments
tail
{
_
}
_
:
assert
.
Arguments
take
{
_
}
!
_
!
_
/
:
assert
.
Arguments
drop
{
_
}
!
_
!
_
/
:
assert
.
Instance
:
Params
(@
head
)
1
:
=
{}.
Instance
:
Params
(@
tail
)
1
:
=
{}.
Instance
:
Params
(@
take
)
1
:
=
{}.
Instance
:
Params
(@
drop
)
1
:
=
{}.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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