aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorMathnerd314 <mathnerd314.gph+hs@gmail.com>2015-09-06 17:03:23 -0600
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-08 13:19:44 +0200
commit8a8752163611400e2386f1f1a449d9d3fb8f1496 (patch)
treee0a9a194862054d4a0eb68d631b95817aa837608 /src/libexpr/eval.hh
parent055ab1fc8da1e7c2cfadb671acc8bdb9f2b245aa (diff)
forceFunction: allow functors as well
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 8df0084fd..eb55f6d4d 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -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);