My list of other languages was not exhaustive, just like C++ matches. :-D
On a serious note, it's a fair point: it does have std::variant, std::visit and std::expected in C++23, but the do force you to embrace C++ verboseness: e.g. you have to write a per-case visitor for std::visit compile-time check. It also still lacks exhaustive matching, distinct types, and has a different ABI from C.
I felt like Swift/OCaml were closer in spirit to what I was trying to achieve in Type-C.
My list of other languages was not exhaustive, just like C++ matches. :-D
On a serious note, it's a fair point: it does have std::variant, std::visit and std::expected in C++23, but the do force you to embrace C++ verboseness: e.g. you have to write a per-case visitor for std::visit compile-time check. It also still lacks exhaustive matching, distinct types, and has a different ABI from C.
I felt like Swift/OCaml were closer in spirit to what I was trying to achieve in Type-C.