From b6c095caf1826de4a367abe2e39ae51f55c0c9cd Mon Sep 17 00:00:00 2001 From: haxala1r Date: Fri, 3 Oct 2025 22:22:25 +0300 Subject: [PATCH] Changed List value to deque for easier testing and use, --- src/include/value.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/value.hpp b/src/include/value.hpp index 4cba57c..425ddc5 100644 --- a/src/include/value.hpp +++ b/src/include/value.hpp @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include #include #include @@ -17,7 +17,7 @@ struct Nil {}; using LispValue = std::variant; -struct List {std::vector list;}; +struct List {std::deque list;}; // during compilation, we don't really care for cyclical lists etc. // during compilation we'll mostly be dealing with regular, flat lists // that form function calls.