Indeed, I was now trying to debug Kristoffer's solution myself, as using 
the macro was throwing an UndefVarError

This works perfectly, many thanks! 


duminică, 28 februarie 2016, 16:31:31 UTC+1, Toivo Henningsson a scris:
>
> I think you want to change the first case to
>
> macro devtime(ex)
>     quote
>         @time $(esc(ex))
>     end
> end
>
> right? 
>
>

Reply via email to