Cabal - Expose all modules while building library

后端 未结 2 1404
死守一世寂寞
死守一世寂寞 2021-02-04 02:35

Is it possible to tell Cabal to expose all modules while building a library?

Right now I have to provide very long list of modules in the exposed-modul

2条回答
  •  天命终不由人
    2021-02-04 02:49

    The modern answer is stack + hpack instead of using explicit cabal config. It could automatically expose package modules and provides many other enhancements.

提交回复
热议问题