-Winvalid-haddock should be part of -Wall
Note: even haddock
itself doesn't enable that option, thus misplaced haddock comments are silently ignored.
Note: even haddock
itself doesn't enable that option, thus misplaced haddock comments are silently ignored.