Aside from general reasons to squash warnings, here's a specific one -- when using modern haskell mode, every time you bring up the REPL, it dumps all the warnings, of which their are currently many:
src/ScalableBag.hs:60:7-12: Warning: …
This binding for ‘length’ shadows the existing binding
imported from ‘Prelude’ at /ffh/ryan/cloud_drive/working_copies/adaptive-data/chen_bag/src/ScalableBag.hs:5:8-18
(and originally defined in ‘Data.Foldable’)
src/ScalableBag.hs:66:13-18: Warning: …
This binding for ‘length’ shadows the existing binding
imported from ‘Prelude’ at /ffh/ryan/cloud_drive/working_copies/adaptive-
..<many more>..
Aside from general reasons to squash warnings, here's a specific one -- when using modern haskell mode, every time you bring up the REPL, it dumps all the warnings, of which their are currently many: