Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cabal - Expose all modules while building library

Tags:

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-modules cabal configurtion file section.

like image 468
Wojciech Danilo Avatar asked Aug 06 '13 15:08

Wojciech Danilo


1 Answers

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

like image 95
Wojciech Danilo Avatar answered Sep 19 '22 04:09

Wojciech Danilo