From c121f20620499e9b7c497c82c7321474cbf59e1d Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 10 Aug 2025 14:36:02 +0300 Subject: Implemented aka. Changed Nil:st type to NilType from an empty list. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 0c71fbe..b507cbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn repl() -> Result<(), io::Error> { }; match &expression { - SCons(l, r) if **l == Atom(Let) => match scons(expression.clone(), Nil).type_check() { + SCons(l, _) if **l == Atom(Let) => match scons(expression.clone(), Nil).type_check() { Ok(_) => { binds.push(expression); println!("Bind saved"); -- cgit v1.2.3