tiny nil optimization

This commit is contained in:
Vaclav Tvrdik 2021-03-07 18:52:56 +01:00
parent d54c2ee79b
commit 01a16802da
1 changed files with 1 additions and 3 deletions

4
ml.cpp
View File

@ -94,9 +94,7 @@ MlValue MlValue::string(const std::string &s) {
}
MlValue MlValue::nil() {
MlValue result;
result.type = NIL;
return result;
return MlValue();
}
// Construct a lambda function