How to avoid duplicate builds for modules in a 'common' stanza across components?

I’m surprised Cabal doesn’t warn about this. There’s a lot that doesn’t work very well when a module is used in two places.

Then again, in my ideal world, there’d just be a single directory per component, and no need to explicitly list modules at all.

4 Likes