Built-in macros

Needless to say, the Julia team has put macros to good use. To get help information about a macro, enter a ? in the REPL, and type @macroname after the help> prompt. Apart from the built-in macros we encountered in the examples in the previous chapters, here are some other very useful ones (refer to the code in Chapter 7\built_in_macros.jl).

Get Julia 1.0 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.