def copy

shake@0.7.0.0 · src/args.bend:9

import shake@0.7.0.0/src/args.bend as Args
import Base

9# a &1 list copied to &2
10def copy(xs: List<&1, String>) -> List<&2, String>:
11  match xs:
12    case Nil{}:
13      Nil{}
14    case Con{+h, t}:
15      h <> copy(t)

Uses (2)

Used by (1)