You’d say, why doesn’t cabal just add this module to the cabal file?
Actually, my question is: why does this module need to be in the cabal file at all? exposed-modules
makes sense to me - there needs to be some mechanism for specifying the public interface of a library. However it’s not clear to me why other-modules
exists.