def length
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
806def length(vs: List<&2, F32>, +n: U32) -> U32:
807 match vs:
808 case Nil{}:
809 n
810 case Con{v, rest}:
811 length(rest, (n + 1 : U32))
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
806def length(vs: List<&2, F32>, +n: U32) -> U32:
807 match vs:
808 case Nil{}:
809 n
810 case Con{v, rest}:
811 length(rest, (n + 1 : U32))