aboutsummaryrefslogtreecommitdiff
path: root/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'runner.py')
-rw-r--r--runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner.py b/runner.py
index 69112c5..f9c8a4d 100644
--- a/runner.py
+++ b/runner.py
@@ -17,7 +17,7 @@ def evaluate(items, pop):
if not nxt.name in STD:
raise Exception(f"no such symbol: '{nxt.name}'")
this_func = STD[nxt.name]
- return evaluate(items[1:], this_func[list(this_func.keys())[0]].impl) # TODO show all
+ return evaluate(items[1:], this_func[0].impl) # TODO show all
elif isinstance(nxt, NebExpression):
return evaluate(items[1:], evaluate_expression(nxt))
else: