bad warning for parallel list comprehension
this piece of code:
module ParComp where
t :: [(Char,Char)]
t = [ (a,b) | a <- "foo" | b <- "bar" ]
will generate this warning:
ParComp.hs:4: Warning: Defined but not used: b
ParComp.hs:4: Warning: Defined but not used: a
This is on Linux ghc version 6.0
Brett Letner
bletner@galois.com
Trac metadata
Trac field |
Value |
Version |
6.0 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|