Closed sectore closed 7 years ago
In general: What about to have more restrict imports of modules to avoid shadowing variables?
Well, sure, we can do that occasionally via qualified imports. I would still prefer things like view
to always mean the view
from lenses, though.
It fixes
ghc
warnings as described in #181In general: What about to have more restrict imports of modules to avoid shadowing variables? Another problem could be the Imports module to use it everywhere. With that we might import content we don't need in other modules, but we have to care about shadowing variables.
Anyway, if these warnings are not important we could change
ghc
warning options to prevent its output. But I would suggest that everyone focus more on all warnings with the goal to compileGuide
w/o any warnings :)