Improved type comparison (parse with haskell-src-exts instead of just doing a string compare)
Derive module modification status from export modification list