1 2 3 4 5 6 7 8 9 10
import std::math pub fn main() -> 'a { let obj = { position: {x:10.0, y:5.0}, velocity: {x:1.0, y:2.0}, }; let obj = math::step(obj); obj.position.x + obj.position.y }