Latest YouTube Video

Monday, January 29, 2018

Spurious space before "(" not allowed with anonymous function

Ok, so I probably shouldn't try to squeeze this anonymous function all on one line in the first place, but the error here is misplaced — it's thinking that (head, tail...) is the function name: julia> function(head, tail...) (head, f(tail...)...); end ERROR: syntax: space before "(" not allowed in "(head, tail...) '('" ...

from Google Alert - anonymous http://ift.tt/2Guv7Ov
via IFTTT

No comments: