def tools.without.put
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
127# a tool kept or dropped
128def tools.without.put(hit: Bool, pin: M.Tool, rest: List<&2, M.Tool>) -> List<&2, M.Tool>:
129 match hit:
130 case True{}:
131 rest
132 case False{}:
133 pin <> rest