def pick_slot

cswap-bend-cli@0.1.0.0 · store/seq.bend:69

import cswap-bend-cli@0.1.0.0/store/seq.bend as Seq
import Base

69def pick_slot(+hit: Bool, +k: String, +rest: Maybe<&2, String>) -> Maybe<&2, String>:
70  match hit:
71    case True{}:
72      Some{k}
73    case False{}:
74      rest

Uses (3)

Used by (4)