def wrap_all

bendtorch-core@0.1.0.0 · src/tensor/signed.bend:42

import bendtorch-core@0.1.0.0/src/tensor/signed.bend as Signed
import Base

42def wrap_all(+limit: U32, positions: List<&2, Position>) -> List<&2, U32>:
43  match positions:
44    case Nil{}:
45      Nil{}
46    case head <> tail:
47      wrap(limit, head) <> wrap_all(limit, tail)

Uses (4)

Used by (10)