#2896: Warning suggestion: argument not necessarily a binary operator
------------------------------+---------------------------------------------
Reporter: porges | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by cjs):
The issue with warnings is that there has to be a way to "fix" them: that
is to say, a way to change the code to say, "yes, this is what I really
want to do." An example is the warning you get for "import Foo" when you
need only the instances from module Foo; you'll get a warning, but you can
fix it with "import Foo ()" to explicitly declare why you're doing
something.
So what does one do to the code in this case to say, "Yes, I really mean
this," and shut off the warning?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2896#comment:1>
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