Exploring Cabal API for integrating it into code inspection tools such as hdevtools.