diff options
-rw-r--r-- | MLKCons.m | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -100,7 +100,8 @@ -(NSString *)bareDescriptionForLisp { if (!_cdr) - return [NSString stringWithFormat:@"%@", [_car descriptionForLisp]]; + return [NSString stringWithFormat:@"%@", + (_car ? (id)[_car descriptionForLisp] : (id)@"()")]; else if ([_cdr isKindOfClass:[MLKCons class]]) return [NSString stringWithFormat:@"%@ %@", (_car ? (id)[_car descriptionForLisp] : (id)@"()"), |