def pos.pick
import cswap-bend-cli@0.1.0.0/args.bend as Argsimport Base
113def pos.pick(hit: Bool, v: String, rest: List<&2, String>) -> List<&2, String>:
114 match hit:
115 case True{}:
116 v <> rest
117 case False{}:
118 rest
import cswap-bend-cli@0.1.0.0/args.bend as Argsimport Base
113def pos.pick(hit: Bool, v: String, rest: List<&2, String>) -> List<&2, String>:
114 match hit:
115 case True{}:
116 v <> rest
117 case False{}:
118 rest