To learn more about the haldane effect check out this great resource:

https://derangedphysiology.com/main/cicm-primary-exam/required-reading/respiratory-system/Chapter%201142/haldane-effect

and for more details on VQ mismatch check out this site:

https://derangedphysiology.com/main/cicm-primary-exam/required-reading/respiratory-system/Chapter%200732/effects-ventilation-perfusion-mismatch-gas-exchange