Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Higher RAII and the seven arcane uses of linear types. Parent comment
fn expect_empty(list) { drop_into(list, () => panic()); }
If you want to discourage runtime checks, you could even make the programmer do the above themselves since it's a one-liner anyway.
There are no comments on this comment yet.
If you want to discourage runtime checks, you could even make the programmer do the above themselves since it's a one-liner anyway.