diff options
Diffstat (limited to 'neb/std/repl.py')
| -rw-r--r-- | neb/std/repl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neb/std/repl.py b/neb/std/repl.py index 0274e48..2979c5b 100644 --- a/neb/std/repl.py +++ b/neb/std/repl.py @@ -15,9 +15,9 @@ def interpretHowTo(symbol, args, env, ns): print(des) else: print("\n".join(des)) - return List([]) + return Nil() -howto_func = Builtin("howto", interpretHowTo, [Arg("symbol", TypeEnum.ANY)], return_type=Type(":list")) +howto_func = Builtin("howto", interpretHowTo, [Arg("symbol", TypeEnum.ANY)], return_type=Type(":nil")) howto_multi = MultiFunction("howto") howto_multi.register(howto_func) REPL.register("howto", howto_multi) |
