Hi everyone,

When I evaluate this expression in the REPL, things work:

julia>  [[1, 2]... 3 4]
1x4 Array{Int64,2}:
 1  2  3  4

However, if I try to assign the result to a variable, I get an error:

julia> row = [[1, 2]... 3 4]
ERROR: unsupported or misplaced expression ...

Same with evaluating the quoted expression:

julia> eval(:( [[1, 2]... 3 4]))
ERROR: unsupported or misplaced expression ...

For what I was doing, I ended up not needing expressions like the above, 
but I'm curious as to what went wrong.

Anybody know what's going on here?

Thanks!
Sam

Reply via email to