def fill.arg.go

shake@0.7.0.0 · src/cli.bend:1368

import shake@0.7.0.0/src/cli.bend as Cli
import Base

1368# a Some default is filled when unbound
1369def fill.arg.go(
1370  dd: Maybe<&2, String>,
1371  +name: String,
1372  +binds: List<&2, Bind>
1373) -> List<&2, Bind>:
1374  match dd:
1375    case None{}:
1376      binds
1377    case Some{v}:
1378      fill.one(bound(binds, name), name, v, binds)

Uses (6)

Used by (1)