Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Zig-style generics are not well-suited for most languages. Parent comment
const MyConcept = std.concept.build(.{...}); const requires = std.concept.requires; const MyType = requires( MyConcept, struct{ ... });
If it fails, it gives some nicely formatted compile time errors.
There are no comments on this comment yet.
If it fails, it gives some nicely formatted compile time errors.