def add

bend-lawful-stdlib@0.1.0.0 · src/v2.bend:13

import bend-lawful-stdlib@0.1.0.0/src/v2.bend as V2
import Base
import bend-lawful-stdlib@0.1.0.0/src/u32.bend as U32

13def add(a: V2, b: V2) -> V2:
14  match a b:
15    case V2{ax, ay} V2{bx, by}:
16      V2{U32.add(ax, bx), U32.add(ay, by)}

Uses (2)

Used by (3)