def int.text
import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11import Base
import yaml-for-bend@0.1.1.0/num.bend as N
import yaml-for-bend@0.1.1.0/core.bend as C
130# An integer's decimal text; +s+ already matched one of the integer forms.
131def int.text(+s: String) -> String:
132 +t = no.seps(s)
133 N.signed(C.is_neg(t), int.of.digits(C.unsigned(t)))