Rows.pct_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/rows.bend as Rows Lines 45-46 of cswap-bend-cli@0.1.0.0/daemon/rows.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/rows.bend&start_line=45&end_line=46 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg def pct_of(+j: Json.Json) -> Maybe<&2, Nat>: nat_opt(bind_s(num_text(Json.get("pct", j)), t => Cfg.centi(t))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=centi https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/rows.bend&name=bind_s https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/rows.bend&name=nat_opt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/rows.bend&name=num_text https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=get