[ ghc-Bugs-1232660 ] Warning and glagow-exts instead of glasgow-exts

SourceForge.net noreply at sourceforge.net
Tue Jul 5 06:26:59 EDT 2005


Bugs item #1232660, was opened at 2005-07-05 03:26
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=1232660&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Warning and glagow-exts instead of glasgow-exts

Initial Comment:
Take this module (Bla.hs): 

x = [ q | y <- [1..10] | z <- [30..40], let q = z*z]

Loading it into GHCi gives:

[ Bla.hs:1: Illegal parallel list comprehension: use -
fglagow-exts ]

PROBLEM: glagow-exts should be glasgow-exts

If we supply this option, one of the warnings is incorrect:

[ Bla.hs:1: Warning: Defined but not used: y, z ]

PROBLEM: z is used but marked as not used

Cheers, Arjan (afie at cs.uu.nl)



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1232660&group_id=8032



More information about the Glasgow-haskell-bugs mailing list