Fixed.move: def of emerging-ezjson@1.4.0.0 Import: import emerging-ezjson@1.4.0.0/src/fixed.bend as Fixed Lines 144-150 of emerging-ezjson@1.4.0.0/src/fixed.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.4.0.0/src/fixed.bend&start_line=144&end_line=150 import Base # the digits with the point moved by the exponent def move(neg: Bool, kk: Nat, dec: Dec) -> Dec: match neg: case False{}: ups(kk, dec) case True{}: downs(kk, dec) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.4.0.0/src/fixed.bend&name=Dec https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.4.0.0/src/fixed.bend&name=downs https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.4.0.0/src/fixed.bend&name=ups