1 2 3 4 5 6 7 8 9 10
{ equal_parts(size, ingredients):: // Define a function-scoped variable. local qty = size / std.length(ingredients); // Return an array. [ { kind: i, qty: qty } for i in ingredients ], }