I'm having another problem... What if I want to define the + operator for 
the type M but use a .+ inside the macro if M contains Arrays for instance?
Like:

function +(m1::M, m2::M)
    return M(.+(m1.a, m2.a), .+(m1.b, m2.b))
end

In the macro I can't make it correctly interpret this supplementary dot, it 
always says ERROR: LoadError: syntax: invalid identifier name "." whatever 
the combination of symbols I try...
Any thought?

Many thanks,

Reply via email to