#4488: Warn about unnecessary fromIntegral and other conversions
---------------------------------+------------------------------------------
Reporter: mitar | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by mitar):
Unnecessary is for me when both types are equal. Unnecessary is for me
when I can remove it and it still compiles. And warning should be just
along the lines "unnecessary fromIntegral there and there". (And also for
other similar conversion functions.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4488#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs