-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
compiler:loweringSyntax lowering (compiler front end, 2nd stage)Syntax lowering (compiler front end, 2nd stage)
Milestone
Description
I've seen this a few times, maybe support could be added:
julia> map({:foo=>"foo", :bar=>"bar"}) do (k, v)
println("$k: $v")
end
ERROR: syntax: "(k,v)" is not a valid function argument name
Right now people fall back on:
map({:foo=>"foo", :bar=>"bar"}) do el
(k, v) = el
println("$k: $v")
end
ettersi, musm, daveyarwood, schlichtanders, dovahcrow and 13 more
Metadata
Metadata
Assignees
Labels
compiler:loweringSyntax lowering (compiler front end, 2nd stage)Syntax lowering (compiler front end, 2nd stage)