Tried to implement a best effort pattern patching inspired solution in C. Destructuring not available, and nesting not directly available, but both can be achieved by opening more Match-When blocks. I guess we can say this is almost pattern matching in C.