sakno/asyncscript

Deduction operator

Closed this issue · 1 comments

Static deduction allows to deduce quoted expression and produces a new lambda:

const a = @@i: %%3 -> %%3: i + %%0 * %%1;
var b = expandq a(5, -10, integer); //equivalent to var b = @i: integer -> integer: i - 50;