lean4-htt/tests/lean/run/8067.lean
Rob23oba b5cfd86a89
fix: Substring.isNat for empty string (#8067)
This PR fixes the behavior of `Substring.isNat` to disallow empty
strings.

Closes #8005
2025-04-29 15:54:29 +00:00

3 lines
72 B
Text

#guard !"".toSubstring.isNat
#guard !"-".isInt
#guard "-".toInt? = none