forked from lix-project/lix
Value: extract Value::Lambda
This commit is contained in:
parent
6af1d9f7b9
commit
7055c65285
|
@ -199,6 +199,11 @@ public:
|
|||
Value * left, * right;
|
||||
};
|
||||
|
||||
struct Lambda {
|
||||
Env * env;
|
||||
ExprLambda * fun;
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
NixInt integer;
|
||||
|
@ -216,10 +221,7 @@ public:
|
|||
Value * smallList[2];
|
||||
ClosureThunk thunk;
|
||||
FunctionApplicationThunk app;
|
||||
struct {
|
||||
Env * env;
|
||||
ExprLambda * fun;
|
||||
} lambda;
|
||||
Lambda lambda;
|
||||
PrimOp * primOp;
|
||||
FunctionApplicationThunk primOpApp;
|
||||
ExternalValueBase * external;
|
||||
|
|
Loading…
Reference in a new issue