diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-24 19:10:21 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-24 19:10:21 +0200 |
commit | aa3f4a2b760c3d890aa51b3afa904ab604de794c (patch) | |
tree | c031c1242e0c1ad2ae92cf00347f36ec343065de /MLKInterpretedClosure.h | |
parent | baae263841853c289d48ce172e614171167cf1dd (diff) | |
parent | a34b771cd9cc823260407b2905312b3be05390db (diff) |
Merge mulk_benkard@ssh.phx.nearlyfreespeech.net:/home/htdocs/code/mulklisp
Diffstat (limited to 'MLKInterpretedClosure.h')
-rw-r--r-- | MLKInterpretedClosure.h | 14 |
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; |