Hacker News new | ask | show | jobs
by lmm 761 days ago
Depends on the rest of your type system. If your language is capable of tracking whether a list is empty then it can allow dropping empty lists without a runtime check.