You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatism for computing the list of modules to include is nice and works most of the time, but there are numerous cases where a source file in a source directory should not be included (i.e. excluded or blacklisted). There were several questions to this effect in the issue tracker and there is a standard workaround (which each new user has to find..). The workaround is neither obvious nor without its own problems.
I suggest that you add a keyword blacklist which accepts a list or a dictionary of module names not to include in the modules list (neither the exposed nor the other-modules list).
I think this is a conservative extension which could not break any existing code (the workaround will still work) and I do not see any interactions with other parts of hpack (but I admit that I have not considered every mechanism).
Thank you for hpack - it makes writing and managing haskell code much more productive!
The text was updated successfully, but these errors were encountered:
The automatism for computing the list of modules to include is nice and works most of the time, but there are numerous cases where a source file in a source directory should not be included (i.e. excluded or blacklisted). There were several questions to this effect in the issue tracker and there is a standard workaround (which each new user has to find..). The workaround is neither obvious nor without its own problems.
I suggest that you add a keyword
blacklist
which accepts a list or a dictionary of module names not to include in the modules list (neither the exposed nor the other-modules list).I think this is a conservative extension which could not break any existing code (the workaround will still work) and I do not see any interactions with other parts of hpack (but I admit that I have not considered every mechanism).
Thank you for hpack - it makes writing and managing haskell code much more productive!
The text was updated successfully, but these errors were encountered: