aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-08 11:01:11 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-08 11:01:11 +0800
commitcff8072df5daba2c38ae2765af36cbb09da358f1 (patch)
tree31ea2b425342c2de43fa6d58125f9ea995948452 /model.h
parent56a85b5111751f5947579b5ee5cc92bdebb799c4 (diff)
`lambda` and `define` are fully supported now
Diffstat (limited to 'model.h')
-rw-r--r--model.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/model.h b/model.h
index 4522b89..9de41fc 100644
--- a/model.h
+++ b/model.h
@@ -227,13 +227,13 @@ class ProcObj: public OptObj {
public:
/** The procedure body, a list of expressions to be evaluated */
ASTList *body;
- /** The arguments, a list of Symbols */
- SymbolList *para_list;
+ /** The arguments: <list> | var1 ... | var1 var2 ... . varn */
+ EvalObj *params;
/** Pointer to the environment */
Environment *envt;
/** Conctructs a ProcObj */
- ProcObj(ASTList *body, Environment *envt, SymbolList *para_list);
+ ProcObj(ASTList *body, Environment *envt, EvalObj *params);
Cons *call(ArgList *args, Environment * &envt,
Continuation * &cont, FrameObj ** &top_ptr);
#ifdef DEBUG