package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b
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)"
>