def ASet.copy
import bend-ml-tensor-array@0.1.19.0/main.bend as BendMlTensorArrayimport Base
2027def ASet.copy(-T: Data, a: Array<T>) -> ASet.Copy(T, a):
2028 match a:
2029 case ALeaf{x}:
2030 (ALeaf{x}, 1, {==}, {==}, {==}, Unit{})
2031 case ANode{xs, ys}:
2032 ASet.copy_node(T, xs, ys, ASet.copy(T, xs))