def copy
import shake@0.7.0.0/src/args.bend as Argsimport 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)
import shake@0.7.0.0/src/args.bend as Argsimport 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)