I'm using your second suggestion now, building special macros for each 
type. This does the job.

I think solution is something like 
https://github.com/JuliaLang/julia/pull/6122 which I hope gets merged soon

Reply via email to