Not sure if this has been discussed earlier... can someone explain whats happening here?
julia> b = [ 1 +j for j = 1:5 ] ERROR: syntax: invalid comprehension syntax julia> b = [ 1 + j for j = 1:5 ] 5-element Array{Int64,1}: 2 3 4 5 6 This happens with both + and -, but not with * or /. I suppose this is related to + and - being unary operators? Thanks! Amuthan.