You could use `|x| *x` instead of `|x|{*x}` (see also lines 11, 14 and 17)