That’s currently a syntax error (so is available), but would also be inconsistent since the do syntax is used for function definition (in function definitions, a=b args are default values for positional arguments).
What would be the point? Presumably map would supply arguments which are congruent, so you would either always get an y, or never do (so just use a constant).
@bkamins: Can you give an example where you would find keyword args useful? I would consider more than 2 (or at most 3, but that’s really pushing it) args for a function I use in a do block code smell.
Is this behaviour of the do block for multiple arguments, etc. documented anywhere? I didn’t see it in the tutorial: Functions · The Julia Language.