Skip to content

Commit 933d4b8

Browse files
committed
Using 'binding' to refer to a keyword list of variable bindings
1 parent 835403a commit 933d4b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/elixir/lib/code.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ defmodule Code do
5757

5858
@doc """
5959
Evaluates the contents given by `string`. The second argument is
60-
a keyword list of bindings, followed by a keyword list of
60+
a keyword list of variable bindings, followed by a keyword list of
6161
environment options. Those options can be:
6262
6363
* `:file` - the file to be considered in the evaluation
@@ -82,8 +82,8 @@ defmodule Code do
8282
`:macros` will no longer auto-import `Kernel` macros like `if`, `case`,
8383
etc.
8484
85-
Returns a tuple of the form `{ value, bindings }`,
86-
where `value` is the the value returned from evaluating `string`; `bindings`
85+
Returns a tuple of the form `{ value, binding }`,
86+
where `value` is the the value returned from evaluating `string`; `binding`
8787
is a keyword list with the value of all variable bindings after evaluating
8888
`string`. If an error occurs while evaluating `string` an exception will be raised.
8989

0 commit comments

Comments
 (0)