[ ghc-Bugs-768658 ] bad warning for parallel list comprehension
SourceForge.net
noreply at sourceforge.net
Wed Jul 9 14:47:52 EDT 2003
Bugs item #768658, was opened at 2003-07-09 11:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=768658&group_id=8032
Category: Compiler
Group: 6.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad warning for parallel list comprehension
Initial Comment:
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 at galois.com
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=768658&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list