6 ms·
NIL equating to the empty list is fine. The empty list equating to: didn’t find what you wanted, but here’s an empty list instead? Hope you weren’t looking for
by spfzero 5y ago
NIL equating to the empty list is fine. The empty list equating to: didn’t find what you wanted, but here’s an empty list instead? Hope you weren’t looking for an empty list though, then you’d be really confused, sorry.
Nah, I’ll take “false” thanks.
- kazinator 5y ago> Nah, I’ll take “false” thanks. false is an object which can be stored in the container, and which you could be looking for. You've just migrated the problem away from empty lists.
- spfzero 5y agoThat's right, then I'd just have a mirror of the original problem. I could store empty lists to represent false, but that's not really any better.