mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
forceFunction: allow functors as well
This commit is contained in:
parent
055ab1fc8d
commit
8a87521636
3 changed files with 13 additions and 1 deletions
|
@ -213,6 +213,8 @@ public:
|
|||
elements and attributes are compared recursively. */
|
||||
bool eqValues(Value & v1, Value & v2);
|
||||
|
||||
bool isFunctor(Value & fun);
|
||||
|
||||
void callFunction(Value & fun, Value & arg, Value & v, const Pos & pos);
|
||||
void callPrimOp(Value & fun, Value & arg, Value & v, const Pos & pos);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue