UNIT type removed

This commit is contained in:
Vaclav Tvrdik
2021-03-07 18:48:57 +01:00
parent 3d54ed9fb3
commit d54c2ee79b
4 changed files with 17 additions and 54 deletions

3
ml.h
View File

@@ -77,7 +77,7 @@ typedef MlValue (*Builtin)(std::vector<MlValue>, MlEnvironment &);
class MlValue {
public:
// Constructs a unit value
// Constructs a nil value
MlValue();
// Constructs an integer
@@ -200,7 +200,6 @@ private:
STRING,
LAMBDA,
BUILTIN,
UNIT,
NIL
} type;