def Mag.show

bend-kit-bignum@0.1.0.0 · bigint.bend:305

import bend-kit-bignum@0.1.0.0/bigint.bend as Bigint
import Base

305# The top limb unpadded, every lower limb as four digits.
306def Mag.show(xs: List<&2, U32>, acc: String) -> String:
307  match xs:
308    case Nil{}:
309      acc
310    case Con{x, Nil{}}:
311      U32.show(x) ++ acc
312    case Con{x, t}:
313      Mag.show(t, Mag.d4(x, acc))

Uses (6)

Used by (1)