Re:I Believe Zig Has Function Colors
by mikepurvis on Saturday April 09, 2022 @09:33AM
(#30967929)
Traits is imo kind of this, in rust and to a lesser extent c++. At the very least, a templated function can insist on being injected with what it needs to engage with the outside world as far as an allocator, IO, error handling, and so on.
[ Parent
| on HN ]
There are no comments on this comment yet.