Skip to content

Warn about unnecessary fromIntegral and other conversions

GHC should report unnecessary fromIntegral and other conversions. Sometimes you change the type later on and fromIntegral stays in the code but it is not necessary anymore. HLint cannot do that because it does not know about types.

Trac metadata
Trac field Value
Version 6.12.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC mmitar@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information