This commit is contained in:
2022-01-27 00:00:18 +01:00
parent e6f61c9d9f
commit 88fee2a2a2

2
ml.cpp
View File

@@ -2225,7 +2225,7 @@ std::map <const std::string, Builtin> builtin_funcs
// Get the value associated with this name in this scope
MlValue MlEnvironment::get(const std::string &name) const {
// PERF, here can be a few of for fast access
if (name == "defe") return MlValue("def", builtin::define);
if (name == "def") return MlValue("def", builtin::define);
if (name == "if") return MlValue("if", builtin::if_then_else);
if (name == "lambda") return MlValue("lambda", builtin::lambda);