logo       

Re: [GHC] #870: extra commas accepted in import export lists: msg#00125

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #870: extra commas accepted in import export lists

#870: extra commas accepted in import export lists
-----------------------+----------------------------------------------------
Reporter: ross | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
-----------------------+----------------------------------------------------
Comment (by duncan):

Though of course, existing programs use this and will break. I'm not
saying don't do it, just bear that in mind.

I'll have to go change every module in Gtk2Hs. :-)

One advantage of allowing extra ','s is that it makes it easier to see
what's really changed in a diff and it makes using #ifdefs in export lists
easier.

If this is going to change perhaps start by deprecating them and making it
a warning so people will have a chance to fix their code.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/870>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise