Rows.u32_field: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/rows.bend as Rows Lines 120-121 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=120&end_line=121 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 u32_field(+j: Json.Json, +key: String) -> Nat: zero_or(nat_opt(bind_s(num_text(Json.get(key, j)), t => Cfg.read_u32(Maybe.default(&2, String, List.head(&2, String, String.split(t, '.')), ""))))) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.head https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.split https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=read_u32 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/daemon/rows.bend&name=zero_or 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