quakeforge/ruamoko/scheme/Cons.h
Brian Koropoff 281b683e14 Initial commit of a future partial implementation of the R5RS Scheme
standard, implemented in Ruamoko.  Currently works for a few simple
"Hello, world!" programs.
2005-05-01 11:48:36 +00:00

19 lines
430 B
Objective-C

#ifndef __Cons_h
#define __Cons_h
#include "SchemeObject.h"
@interface Cons: SchemeObject
{
SchemeObject car, cdr;
}
+ (id) newWithCar: (SchemeObject) a cdr: (SchemeObject) d;
- (id) initWithCar: (SchemeObject) a cdr: (SchemeObject) d;
- (SchemeObject) car;
- (void) car: (SchemeObject) a;
- (SchemeObject) cdr;
- (void) cdr: (SchemeObject) d;
@end
@extern Cons cons (SchemeObject car, SchemeObject cdr);
#endif //__Cons_h