summaryrefslogtreecommitdiff
path: root/MLKCons.m
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-08-11 01:00:09 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-08-11 01:00:09 +0200
commit065ea00d5c861411b5aaa41f29bd69a9f30e3ef3 (patch)
tree4d73d1305c8ae8031f5091d38b0c36f526c99f2a /MLKCons.m
parentb3be10fa461a52b3ca774ad2a25162d0fc830cda (diff)
Implement most of the MLKForm class cluster.
Diffstat (limited to 'MLKCons.m')
-rw-r--r--MLKCons.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/MLKCons.m b/MLKCons.m
index 67aba08..bee917f 100644
--- a/MLKCons.m
+++ b/MLKCons.m
@@ -133,6 +133,14 @@
return [self listByAppendingObject:nil];
}
+-(int) length
+{
+ if (_cdr)
+ return 1 + [_cdr length];
+ else
+ return 1;
+}
+
-(NSString *) bareDescriptionForLisp
{
if (!_cdr)