def Decimal.show.sign

bend-kit-bignum@0.1.0.0 · decimal.bend:223

import bend-kit-bignum@0.1.0.0/decimal.bend as Decimal
import Base

223def Decimal.show.sign(neg: Bool, body: String) -> String:
224  match neg:
225    case True{}:
226      SCon{Chr{45}, body}
227    case False{}:
228      body

Uses (3)

Used by (1)