Skip to content
Snippets Groups Projects
Commit 1e3becd1 authored by Ralf Jung's avatar Ralf Jung
Browse files

Merge branch 'ralf/core-docs' into 'master'

improve [core] docs

See merge request iris/iris!503
parents fac5fb7a 6f712e1a
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,8 @@ Class CmraTotal (A : cmraT) := cmra_total (x : A) : is_Some (pcore x).
Hint Mode CmraTotal ! : typeclass_instances.
(** The function [core] returns a dummy when used on CMRAs without total
core. *)
core. We only ever use this for [CmraTotal] CMRAs, but it is more convenient
to not require that proof to be able to call this function. *)
Definition core `{PCore A} (x : A) : A := default x (pcore x).
Instance: Params (@core) 2 := {}.
......
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