def bare.pick

ezx@1.11.0.0 · src/pkg/pkg.bend:640

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

640def bare.pick(lic: Bool, head: Item, rest: List<&2, Item>) -> List<&2, Item>:
641  match lic:
642    case True{}:
643      rest
644    case False{}:
645      head <> rest

Uses (3)

Used by (1)