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
[EMAIL PROTECTED]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=768658&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to