Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/src/manual/metaprogramming.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ julia> ex3 = Meta.parse("(4 + 4) / 2")
:((4 + 4) / 2)
```

Another way to view expressions is with Meta.show_sexpr, which displays the [S-expression](https://en.wikipedia.org/wiki/S-expression)
Another way to view expressions is with `Meta.show_sexpr`, which displays the [S-expression](https://en.wikipedia.org/wiki/S-expression)
form of a given `Expr`, which may look very familiar to users of Lisp. Here's an example illustrating
the display on a nested `Expr`:

Expand Down Expand Up @@ -1070,7 +1070,7 @@ syntax tree.

## Generated functions

A very special macro is `@generated`, which allows you to define so-called *generated functions*.
A very special macro is [`@generated`](@ref), which allows you to define so-called *generated functions*.
These have the capability to generate specialized code depending on the types of their arguments
with more flexibility and/or less code than what can be achieved with multiple dispatch. While
macros work with expressions at parse time and cannot access the types of their inputs, a generated
Expand Down Expand Up @@ -1269,7 +1269,7 @@ run during inference, it must respect all of the limitations of that code.
Some operations that should not be attempted include:

1. Caching of native pointers.
2. Interacting with the contents or methods of Core.Compiler in any way.
2. Interacting with the contents or methods of `Core.Compiler` in any way.
3. Observing any mutable state.

* Inference on the generated function may be run at *any* time, including while your code is attempting
Expand Down
4 changes: 2 additions & 2 deletions doc/src/manual/missing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ which propagate them (like standard operators). Packages should consider
whether it makes sense to propagate missing values when defining new functions,
and define methods appropriately if that is the case. Passing a `missing` value
to a function for which no method accepting arguments of type `Missing` is defined
throws a `MethodError`, just like for any other type.
throws a [`MethodError`](@ref), just like for any other type.

## Equality and Comparison Operators

Expand Down Expand Up @@ -191,7 +191,7 @@ Control flow operators including [`if`](@ref), [`while`](@ref) and the
[ternary operator](@ref man-conditional-evaluation) `x ? y : z`
do not allow for missing values. This is because of the uncertainty about whether
the actual value would be `true` or `false` if we could observe it,
which implies that we do not know how the program should behave. A `TypeError`
which implies that we do not know how the program should behave. A [`TypeError`](@ref)
is thrown as soon as a `missing` value is encountered in this context
```jldoctest
julia> if missing
Expand Down