diff options
Diffstat (limited to 'tuplr.hpp')
-rw-r--r-- | tuplr.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -251,10 +251,10 @@ struct Funcs : public list< pair<AType*, CFunction> > { struct AClosure : public ATuple { AClosure(Cursor c, ASymbol* fn, ATuple* p, AST* b, const string& n="") : ATuple(c, fn, p, b, NULL), name(n) {} - bool operator==(const AST& rhs) const { return this == &rhs; } - void constrain(TEnv& tenv) const; - void lift(CEnv& cenv); - CValue compile(CEnv& cenv); + bool operator==(const AST& rhs) const { return this == &rhs; } + void constrain(TEnv& tenv) const; + void lift(CEnv& cenv); + CValue compile(CEnv& cenv); ATuple* prot() const { return dynamic_cast<ATuple*>(at(1)); } private: Funcs funcs; |