def Placed.of

bend-lint-rules@0.2.0.0 · lib/text/main.bend:248

import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules
import Base

248def Placed.of(offsets: List<&2, U32>, +index: U32, out: List<&2, Placed>) -> List<&2, Placed>:
249  match offsets:
250    case Nil{}:
251      out
252    case Con{o, rest}:
253      Placed.of(rest, (index + 1: U32), Placed{index, o} <> out)

Uses (4)

Used by (1)