1 2 3 4 5 6 7 8 9
fn main() { #macro[[#mylambda[x, body], { fn f(x: int) -> int { ret body } f }]]; assert (#mylambda[y, y * 2](8) == 16); }