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
Currently, packunused considers this package's use of base redundant; however, removing base from the cabal file results in a failing build, due to the implicit import of Prelude.
Although this minimal example may seem a bit contrived, the issue came up for me in a real codebase where an executable section was defined in which nothing from Prelude was used, since the executable was defined very straightforwardly in terms of the library.
The text was updated successfully, but these errors were encountered:
Currently,
packunused
considers this package's use ofbase
redundant; however, removingbase
from the cabal file results in a failing build, due to the implicit import ofPrelude
.Although this minimal example may seem a bit contrived, the issue came up for me in a real codebase where an
executable
section was defined in which nothing fromPrelude
was used, since the executable was defined very straightforwardly in terms of the library.The text was updated successfully, but these errors were encountered: