Skip to content

Commit

Permalink
eval
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Aug 20, 2024
1 parent 70f66cf commit 0fc0b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/reference/evaluation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ A Symbol is _resolved_:
. If it names a special form it is considered a special form, and must be utilized accordingly.
. If in a local scope (e.g. in a function definition or a let form), a lookup is done to see if it names a local binding (e.g. a function argument or let-bound name). If so, the value is the value of the local binding.
. A lookup is done in the current namespace to see if there is a mapping from the symbol to a var. If so, the value is the value of the binding of the var referred-to by the symbol.
. If it names a class or a mapping from symbol to class, the value is the Java class named by the symbol.
. If it names a class or a mapping from symbol to class in the current namespace, the value is the Java class named by the symbol.
. It is an error.
If a Symbol has metadata, it may be used by the compiler, but will not be part of the resulting value.
Expand Down

0 comments on commit 0fc0b42

Please sign in to comment.