Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adam
stdpp
Commits
84ecfd79
Commit
84ecfd79
authored
7 years ago
by
Johannes Kloos
Browse files
Options
Downloads
Patches
Plain Diff
Minor documentation fixes.
The documentation for some typeclasses used the wrong names for these typeclasses.
parent
2e5cc41f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/base.v
+2
-2
2 additions, 2 deletions
theories/base.v
with
2 additions
and
2 deletions
theories/base.v
+
2
−
2
View file @
84ecfd79
...
...
@@ -964,7 +964,7 @@ Hint Mode Alter - - ! : typeclass_instances.
Instance
:
Params
(
@
alter
)
5
.
Arguments
alter
{_
_
_
_}
_
!
_
!
_
/
:
simpl
nomatch
,
assert
.
(** The function [alter f k m] should update the value at key [k] using the
(** The function [
partial_
alter f k m] should update the value at key [k] using the
function [f], which is called with the original value at key [k] or [None]
if [k] is not a member of [m]. The value at [k] should be deleted if [f]
yields [None]. *)
...
...
@@ -1092,7 +1092,7 @@ Hint Mode Size ! : typeclass_instances.
Arguments
size
{_
_}
!
_
/
:
simpl
nomatch
,
assert
.
Instance
:
Params
(
@
size
)
2
.
(** The class [Collection M] axiomatizes a type constructor [M] that can be
(** The class [Collection
Monad
M] axiomatizes a type constructor [M] that can be
used to construct a collection [M A] with elements of type [A]. The advantage
of this class, compared to [Collection], is that it also axiomatizes the
the monadic operations. The disadvantage, is that not many inhabits are
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment