In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "abstract types are defined using the abstract keyword."
A block of code is set as follows:
function bar(a, b)
x::Int64 = 0
y = a+b+x
return y
end
Any command-line input or output is written as follows:
julia> @benchmark serial_add()
================ Benchmark Results ========================
Time per evaluation: 6.95 ms [6.59 ms, 7.31 ms]
Proportion of time in GC: 0.00% [0.00%, 0.00%]
Memory allocated: 0.00 bytes
Number of allocations: 0 allocations
Number of samples: 100
Number of evaluations: 100
Time spent benchmarking: 0.86 s
New terms and important words are shown in bold.
Note
Warnings or important notes appear in a box like this.