Closed coffee-squirrel closed 7 years ago
In 2.2 we introduce dynamic code generation, which will precompute all constant expressions (including maps and arrays), automatically providing these kinds of optimizations without extra syntax.
fixed in #129
Problem description
It might be useful to have a
with
(orusing
... whatever) block, alongsidewhen
andthen
, to do one-time calculations and variable assignments for a rule. The examples below show my attempt at mapping one value to another, and how I'd use awith
block.Environment