package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b
doc/coq-core.interp/Smartlocate/index.html
Module Smartlocate
Source
locate_global_with_alias
locates global reference possibly following a notation if this notation has a role of aliasing; raise Not_found
if not bound in the global env; raise a UserError
if bound to a syntactic def that does not denote a reference
Extract a global_reference from a reference that can be an "alias". If the reference points to a more complex term, we return None
Locate a reference taking into account possible "alias" notations. May raise Nametab.GlobalizationError _
for an unknown reference, or a UserError
if bound to a syntactic def that does not denote a reference.
The same for constants
The same for inductive types
The same for constructors of an inductive type
Locate a reference taking into account notations and "aliases"
The same for constants
The same for inductive types
The same for constructors of an inductive type