typo fix
This commit is contained in:
2
ml.cpp
2
ml.cpp
@@ -2225,7 +2225,7 @@ std::map <const std::string, Builtin> builtin_funcs
|
|||||||
// Get the value associated with this name in this scope
|
// Get the value associated with this name in this scope
|
||||||
MlValue MlEnvironment::get(const std::string &name) const {
|
MlValue MlEnvironment::get(const std::string &name) const {
|
||||||
// PERF, here can be a few of for fast access
|
// 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 == "if") return MlValue("if", builtin::if_then_else);
|
||||||
if (name == "lambda") return MlValue("lambda", builtin::lambda);
|
if (name == "lambda") return MlValue("lambda", builtin::lambda);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user