def Short.exp
import bend-kit-fmt@0.1.0.0/fmt.bend as Fmtimport Base
348def Short.exp(neg: Bool, +e: U32) -> String:
349 match neg:
350 case True{}:
351 SCon{'-', Short.exp.if(U32.is_lt(e, 10), e)}
352 case False{}:
353 SCon{'+', Short.exp.if(U32.is_lt(e, 10), e)}