Cabal - 在建立图书馆时公开所有模块 [英] Cabal - Expose all modules while building library
本文介绍了Cabal - 在建立图书馆时公开所有模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以告诉 Cabal
在构建库时公开所有模块?
Is it possible to tell Cabal
to expose all modules while building a library?
现在我有在 Exposed-modules
cabal配置文件部分中提供非常长的模块列表。
Right now I have to provide very long list of modules in the Exposed-modules
cabal configurtion file section.
推荐答案
The modern answer is stack + hpack instead of using explicit cabal config. It could automatically expose package modules and provides many other enhancements.
这篇关于Cabal - 在建立图书馆时公开所有模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文