Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Runtime-evaluation/Elixir/runtime-evaluation.elixir
Normal file
6
Task/Runtime-evaluation/Elixir/runtime-evaluation.elixir
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
iex(1)> Code.eval_string("x + 4 * Enum.sum([1,2,3,4])", [x: 17])
|
||||
{57, [x: 17]}
|
||||
iex(2)> Code.eval_string("c = a + b", [a: 1, b: 2])
|
||||
{3, [a: 1, b: 2, c: 3]}
|
||||
iex(3)> Code.eval_string("a = a + b", [a: 1, b: 2])
|
||||
{3, [a: 3, b: 2]}
|
||||
Loading…
Add table
Add a link
Reference in a new issue