Store.prof_of_reply: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store.bend as Store Lines 40-45 of cswap-bend-cli@0.1.0.0/store.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store.bend&start_line=40&end_line=45 import Base import cswap-bend-cli@0.1.0.0/http.bend as Http import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan def prof_of_reply(r: Result<&2, &2, String, Http.Reply>) -> SPlan.Prof: match r: case Fail{e}: SPlan.ProfNone{} case Done{Http.Reply{status, head, body}}: prof_if_ok(U32.is_eq(status, 200), body) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/http.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/plan.bend&name=Prof https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store.bend&name=prof_if_ok