Remix.run Logo
▲ Conscat 32 minutes ago

This is in the C23 standard library as well, just without nice sum types sadly.