def picks.put

ezx@1.11.0.0 · src/ws/workspace.bend:251

import ezx@1.11.0.0/src/ws/workspace.bend as Workspace
import 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

Uses (3)

Used by (1)