def pick_slot
import cswap-bend-cli@0.1.0.0/store/seq.bend as Seqimport 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
import cswap-bend-cli@0.1.0.0/store/seq.bend as Seqimport 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