set! added

This commit is contained in:
2021-04-14 07:55:55 +02:00
parent c95d7ec886
commit a50a3bceb3
2 changed files with 32 additions and 0 deletions

4
ml.h
View File

@@ -42,6 +42,10 @@ public:
// Set the value associated with this name in this scope
void set(const std::string &name, MlValue value);
// Set the value associated with this name in this scope and parent scopes
// and if not exists sets in this scope
void setX(const std::string &name, MlValue value);
// Get vector of executables in this scope
std::vector<std::string> get_lambdas_list() const;