diff options
| -rw-r--r-- | neb/std/lists.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/std/lists.py b/neb/std/lists.py index 57d353e..9335c3d 100644 --- a/neb/std/lists.py +++ b/neb/std/lists.py @@ -76,7 +76,7 @@ LISTS.register("in?", in_multi) def interpretLast(symbol, args, env, ns): if len(args[0].args) == 0: - raise InterpretPanic("List is empty") + raise InterpretPanic(symbol, "list is empty") return evaluate(args[0].args[-1], env, ns) last_func = Builtin("last", interpretLast, [Arg("list", TypeEnum.LIST)]) |
