def esign
import emerging-ezjson@1.3.0.0/src/fixed.bend as Fixedimport Base
70# an exponent's sign and digits
71def esign(txt: String) -> Bool & String:
72 match txt:
73 case SNil{}:
74 (False{}, "")
75 case SCon{+hd, tl}:
76 esign.at(Char.is_eq(hd, '-'), Char.is_eq(hd, '+'), hd, tl)