iu-parfunc / adaptive-data

0 stars 0 forks source link

(Minor) Best to keep `-Wall` on and squash warnings #7

Open rrnewton opened 9 years ago

rrnewton commented 9 years ago

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>..
DreamLinuxer commented 9 years ago

Fix

DreamLinuxer commented 9 years ago

Fix