with - pannous/warp GitHub Wiki
with accessor keyword
The following tasteless rust code
ctx.line_to(offset_x, offset_y);
ctx.stroke();
ctx.begin_path();
ctx.move_to(offset_x, offset_y);
can be beautified in angle as
# not yet: with … do blocks (card with-do-block)
with context do
stroke
begin path
move to offset.x offset.y
end
The with keyword has the signature
with object block ...