def pos_of.put

shake@0.7.0.0 · src/cli.bend:396

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

396# this Arg kept when it is a positional
397def pos_of.put(keep: Bool, hh: Arg, rest: List<&2, Arg>) -> List<&2, Arg>:
398  match keep:
399    case True{}:
400      hh <> rest
401    case False{}:
402      rest

Uses (3)

Used by (1)