1 2 3 4 5 6 7 8 9 10 11
package example:math@0.1.0; world component { import asterai:host/api@0.1.0; export mul: func(a: f32, b: f32) -> binary-operation-result; record binary-operation-result { value: f64, } }