summaryrefslogtreecommitdiff
path: root/MLKInterpretedClosure.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-24 19:10:21 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-24 19:10:21 +0200
commitaa3f4a2b760c3d890aa51b3afa904ab604de794c (patch)
treec031c1242e0c1ad2ae92cf00347f36ec343065de /MLKInterpretedClosure.h
parentbaae263841853c289d48ce172e614171167cf1dd (diff)
parenta34b771cd9cc823260407b2905312b3be05390db (diff)
Merge mulk_benkard@ssh.phx.nearlyfreespeech.net:/home/htdocs/code/mulklisp
Diffstat (limited to 'MLKInterpretedClosure.h')
-rw-r--r--MLKInterpretedClosure.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/MLKInterpretedClosure.h b/MLKInterpretedClosure.h
index 4955c4c..9651c70 100644
--- a/MLKInterpretedClosure.h
+++ b/MLKInterpretedClosure.h
@@ -16,7 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#import "MLKForm.h"
#import "MLKFuncallable.h"
+#import "MLKInterpreter.h"
#import "MLKLexicalContext.h"
#import "MLKLexicalEnvironment.h"
@@ -26,16 +28,12 @@
@interface MLKInterpretedClosure : NSObject <MLKFuncallable>
{
- id bodyForm;
- MLKSymbol *lambdaListName;
- MLKLexicalContext *context;
- MLKLexicalEnvironment *environment;
+ MLKSimpleLambdaForm *_form;
+ MLKLexicalEnvironment *_environment;
}
--(id) initWithBodyForms:(id)forms
- lambdaListName:(MLKSymbol *)symbol
- context:(MLKLexicalContext *)lexctx
- environment:(MLKLexicalEnvironment *)lexenv;
+-(id) initWithForm:(MLKSimpleLambdaForm *)aForm
+ environment:(MLKLexicalEnvironment *)lexenv;
-(NSArray *) applyToArray:(NSArray *)arguments;