package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.15.0.tar.gz
sha256=73466e61f229b23b4daffdd964be72bd7a110963b9d84bd4a86bb05c5dc19ef3
doc/coq-core.engine/Nameops/index.html
Module Nameops
Source
Identifiers and names
remove trailing digits
remove trailing digits, ' and _
Below, by subscript we mean a suffix composed solely from (decimal) digits.
Split an identifier into a base name and a subscript.
Append the subscript to the identifier.
Return the same identifier as the original one but whose subscript is incremented. If the original identifier does not have a suffix, 0
is appended to it.
Example mappings:
bar
↦ bar0
bar0
↦ bar1
bar00
↦ bar01
bar1
↦ bar2
bar01
↦ bar01
bar9
↦ bar10
bar09
↦ bar10
bar99
↦ bar100
Metavariables
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>