Re:Higher RAII and the seven arcane uses of linear types
by lmm on Thursday May 16, 2024 @11:21PM
(#40386048)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.