Y
Hacker News
new
|
ask
|
show
|
jobs
by
Klockan
3173 days ago
It is fairly straightforward, created a pastebin showing how it can be done, you can also make it check that it is implemented at compile time but the logic around that is a bit iffy:
https://pastebin.com/DiFh4GuM