def picks.put
import ezx@1.11.0.0/src/ws/workspace.bend as Workspaceimport Base
251# this ledger in front of the rest, when its directory is a member
252def picks.put(keep: Bool, +ledger: Ledger, rest: List<&2, Ledger>) -> List<&2, Ledger>:
253 match keep:
254 case True{}:
255 ledger <> rest
256 case False{}:
257 rest