diff options
| -rw-r--r-- | actinide/evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actinide/evaluator.py b/actinide/evaluator.py index 614acbf..68b4dd2 100644 --- a/actinide/evaluator.py +++ b/actinide/evaluator.py @@ -217,7 +217,7 @@ def define(value, symbols, continuation, bind): symb, expr = t.flatten(value) if not t.symbol_p(symb): - raise RuntimeError("Argument to define not a symbol: {t.display(symb)}") + raise RuntimeError(f"Argument to define not a symbol: {t.display(symb, symbols)}") bind_cont = bind(symb, continuation) eval_cont = eval(expr, symbols, bind_cont) |
