Urec.adopt.sort: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/urec.bend as Urec Lines 188-193 of cswap-bend-cli@0.1.0.0/urec.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/urec.bend&start_line=188&end_line=193 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def adopt.sort(yes: Bool, +slot: String, +rows: Json.Json, adopted: List<&2, String>, kept: List<&2, String>) -> AR: match yes: case True{}: AR{rows, slot <> adopted, kept} case False{}: AR{rows, adopted, slot <> kept} 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=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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/urec.bend&name=AR