diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-04 15:41:33 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-04 15:41:33 +0200 |
commit | a0b4d1eafa4312b5970f7268441d848be5231e7b (patch) | |
tree | 59c80ab8121c39a525774a50da1f3047cfd8beaf | |
parent | 820c78beaccf784f710bdd91298401a745d93f2e (diff) |
Denullify elements when turning an NSArray into a list.
-rw-r--r-- | MLKCons.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,11 +52,11 @@ id item = [array objectAtIndex:i]; if (!tail) { - cons = tail = [MLKCons cons:item with:nil]; + cons = tail = [MLKCons cons:denullify(item) with:nil]; } else { - [tail setCdr:[MLKCons cons:item with:nil]]; + [tail setCdr:[MLKCons cons:denullify(item) with:nil]]; tail = [tail cdr]; } } |