Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
two_handfuls
11 months ago
|
parent
|
context
|
favorite
| on:
Higher RAII and the seven arcane uses of linear ty...
I see, so in that second case it’s a runtime check rather that a static check. That makes sense.
lmm
11 months 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.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: