Re: [GHC] #2700: Template Haskell pretty printer arrow always associates right

2008-10-28 Thread GHC
#2700: Template Haskell pretty printer arrow always associates right
-+--
 Reporter:  aprocter |  Owner:  igloo   
 Type:  merge| Status:  closed  
 Priority:  normal   |  Milestone:  6.10.1  
Component:  Template Haskell |Version:  6.8.3   
 Severity:  normal   | Resolution:  fixed   
 Keywords:  th pprint pretty print template  | Difficulty:  Unknown 
 Testcase:  th/T2700 |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple |  
-+--
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Merged

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2713: Fixities interact badly with TH under GHC 6.10.1 20081007

2008-10-28 Thread GHC
#2713: Fixities interact badly with TH under GHC 6.10.1 20081007
--+-
 Reporter:  BenMoseley|  Owner:  igloo   
 Type:  merge | Status:  closed  
 Priority:  normal|  Milestone:  6.10.1  
Component:  Template Haskell  |Version:  6.10.1  
 Severity:  normal| Resolution:  fixed   
 Keywords:| Difficulty:  Unknown 
 Testcase:  th/T2713  |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Merged

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2701: Cannot derive Data for structures containing unboxed values

2008-10-28 Thread GHC
#2701: Cannot derive Data for structures containing unboxed values
+---
 Reporter:  batterseapower  |  Owner:  igloo   
 Type:  merge   | Status:  closed  
 Priority:  normal  |  Milestone:  6.10.1  
Component:  Compiler|Version:  6.10.1  
 Severity:  normal  | Resolution:  fixed   
 Keywords:  | Difficulty:  Unknown 
 Testcase:  deriving/should_fail/T2701  |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple|  
+---
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Merged

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2722: < when compiling with -O option with ghc-6.10.0.20081019

2008-10-28 Thread GHC
#2722: < when compiling with -O option with ghc-6.10.0.20081019
---+
 Reporter:  uwe|  Owner: 
 Type:  bug| Status:  new
 Priority:  high   |  Milestone:  6.10.1 
Component:  Compiler   |Version:  6.10.1 
 Severity:  normal | Resolution: 
 Keywords:  Optimization Loop  | Difficulty:  Unknown
 Testcase: |   Architecture:  x86
   Os:  Linux  |  
---+
Comment (by uwe):

 I've prepared a tar archive with all sources needed
 to reproduce the error.
 The URL is
 http://www.fh-wedel.de/~si/HXmlToolbox/hxt-ghc10-error.tar.gz

 Please untar the archive, cd into hxt-ghc10 and
 run "make error".
 This will cd into examples/arrows/hparser,
 compile the test prog with -O0 and execute a
 simple test run.

 Then the build is repeated but with -O and
 the test prog issues <>.

 There are a lot of sources, that shouldn't have
 any influence on this error. Interesting modules
 could be the Control.Arrow.* modules.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2684: Stack overflow in stream-fusion library with GHC 6.10 RC

2008-10-28 Thread GHC
#2684: Stack overflow in stream-fusion library with GHC 6.10 RC
--+-
 Reporter:  dons  |  Owner:  dons
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  Not GHC 
Component:  Compiler  |Version:  6.9 
 Severity:  major | Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by simonpj):

  * owner:  => dons
  * milestone:  6.10.1 => Not GHC

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2723: Unnecessary warning for record wildcards

2008-10-28 Thread GHC
#2723: Unnecessary warning for record wildcards
--+-
 Reporter:  judah |  Owner:  igloo   
 Type:  merge | Status:  new 
 Priority:  normal|  Milestone:  6.10 branch 
Component:  Compiler  |Version:  6.8.3   
 Severity:  normal| Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:  rename/should_fail/T2723  |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by simonpj):

  * testcase:  => rename/should_fail/T2723
  * owner:  => igloo
  * type:  bug => merge

Comment:

 Fixed by
 {{{
 Tue Oct 28 11:04:45 GMT Standard Time 2008  [EMAIL PROTECTED]
   * Fix Trac #2723: keep track of record field names in the renamer
 }}}
 Probably worth merging, if it goes over cleanly

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2595: Implement record update for existential and GADT data types

2008-10-28 Thread GHC
#2595: Implement record update for existential and GADT data types
--+-
 Reporter:  simonpj   |  Owner:  
 Type:  feature request   | Status:  closed  
 Priority:  normal|  Milestone:  6.12 branch 
Component:  Compiler  |Version:  6.8.3   
 Severity:  normal| Resolution:  fixed   
 Keywords:| Difficulty:  Unknown 
 Testcase:  tc244 |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by simonpj):

  * testcase:  => tc244
  * status:  new => closed
  * resolution:  => fixed

Comment:

 OK I have mostly-implemented this feature request
 {{{
 Tue Oct 28 11:54:27 GMT Standard Time 2008  [EMAIL PROTECTED]
   * Mostly-fix Trac #2595: updates for existentials

   Ganesh wanted to update records that involve existentials.  That
   seems reasonable to me, and this patch covers existentials, GADTs,
   and data type families.

   The restriction is that
 The types of the updated fields may mention only the
 universally-quantified type variables of the data constructor

   This doesn't allow everything in #2595 (it allows 'g' but not 'f' in
   the ticket), but it gets a lot closer.
 }}}
 No need to merge.

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2652: fancier prompts for ghci

2008-10-28 Thread GHC
#2652: fancier prompts for ghci
--+-
 Reporter:  jsnx  |  Owner:  
 Type:  feature request   | Status:  new 
 Priority:  normal|  Milestone:  6.10 branch 
Component:  GHCi  |Version:  6.8.3   
 Severity:  normal| Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:|   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Comment (by jsnx):

 I've integrated this with GHC 6.8.3 sources. There's not much to it.

 {{{
 #!diff
 --- 0/compiler/ghci/InteractiveUI.hs2008-06-16 10:27:16.0
 -0700
 +++ 1/compiler/ghci/InteractiveUI.hs2008-10-28 02:57:03.0
 -0700
 @@ -1447,11 +1447,19 @@
  setPrompt value = do
st <- getGHCiState
if null value
 -  then io $ hPutStrLn stderr $ "syntax: :set prompt ,
 currently \"" ++ prompt st ++ "\""
 -  else setGHCiState st{ prompt = remQuotes value }
 +  then io $ hPutStrLn stderr $
 +"syntax: :set prompt , currently \"" ++ prompt st ++ "\""
 +  else setGHCiState st{ prompt = read . handleQuotes $ value }
where
 - remQuotes ('\"':xs) | not (null xs) && last xs == '\"' = init xs
 - remQuotes x = x
 + -- the prompt can be input with quote marks and string escaping, or
 + -- with plain character escaping.
 + handleQuotes s | length s > 2 && last s == '"' && head s == '"' = s
 +| otherwise = wrap . escapeQuotes $ s
 + wrap = ("\"" ++) . (++ "\"")
 + escapeQuotes ('\\':'"':r) = '\\' : '"' : escapeQuotes r
 + escapeQuotes ('"':r) = '\\' : '"' : escapeQuotes r
 + escapeQuotes (c:r) = c : escapeQuotes r
 + escapeQuotes [ ] = [ ]

  setOptions wds =
 do -- first, deal with the GHCi opts (+s, +t, etc.)

 }}}

 With quotes, it uses string escapes and retains spaces:

 {{{
 Prelude> :set prompt "{-  %s\n -} "
 {-  Prelude
  -}
 }}}

 Without quotes, it uses only character escapes:

 {{{
 Prelude> :set prompt {-\SP\SP%s\n\SP-}\SP
 {-  Prelude
  -}
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs