def whole.put

ezx@1.11.0.0 · src/lock/run.bend:455

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

455# a file read, in front of the rest
456def whole.put(got: Maybe<&2, String>, +at: String, rest: List<&2, K.Source>) -> List<&2, K.Source>:
457  match got:
458    case None{}:
459      rest
460    case Some{text}:
461      K.Source{at, text} <> rest

Uses (4)

Used by (1)