def once.put
import ezx@1.11.0.0/src/ledger/ignore.bend as Ignoreimport Base
201# a hash in front of the rest, unless it is passed over
202def once.put(skip: Bool, +hash: String, rest: List<&2, String>) -> List<&2, String>:
203 match skip:
204 case True{}:
205 rest
206 case False{}:
207 hash <> rest