def prof_if_ok
import cswap-bend-cli@0.1.0.0/store.bend as Storeimport Base
import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan
33def prof_if_ok(+ok: Bool, +body: String) -> SPlan.Prof:
34 match ok:
35 case True{}:
36 SPlan.profile_of_text(body)
37 case False{}:
38 SPlan.ProfNone{}