package rocq-runtime
The Rocq Prover -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.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)"
>