Re: [GHC] #4370: Bring back monad comprehensions

2011-05-12 Thread GHC
#4370: Bring back monad comprehensions
--+-
  Reporter:  simonpj  |  Owner:  nsch
  Type:  feature request  | Status:  closed  
  Priority:  normal   |  Milestone:  7.4.1   
 Component:  Compiler |Version:  6.12.3  
Resolution:  fixed|   Keywords:  
  Testcase:   |  Blockedby:  
Difficulty:   | Os:  Unknown/Multiple
  Blocking:   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown |  
--+-

Comment(by simonpj):

 Nils, if you felt up to it, it would be a fine thing to have a page on the
 Hsakell Wiki describing monad comprehensions and what you can do with the.
 There's plenty of precedent for this; see Collaborative documentation at
 http://haskell.org/haskellwiki/GHC.  With a relatively complex feature the
 user-manual documentation isn't that helpful, whereas on a more discursive
 page you can give lots of examples. You could use your blog post as a
 basis.

 BTW can you check the changes I made to the user manual to ensure I didn't
 get anything wrong?  Thanks.

 Simon

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4370#comment:55
GHC http://www.haskell.org/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] #4359: Implement lambda-case/lambda-if

2011-05-12 Thread GHC
#4359: Implement lambda-case/lambda-if
-+--
Reporter:  batterseapower|Owner:  
Type:  feature request   |   Status:  new 
Priority:  high  |Milestone:  7.2.1   
   Component:  Compiler  |  Version:  7.1 
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by simonmar):

  * priority:  normal = high
  * milestone:  7.4.1 = 7.2.1


Comment:

 Patch looks great, thanks Mikhail!  We just need a test, and we can put it
 into 7.2.1.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4359#comment:37
GHC http://www.haskell.org/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] #5190: TinyCoreLinux extension

2011-05-12 Thread GHC
#5190: TinyCoreLinux extension
+---
  Reporter:  josemaria.alkala   |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:  7.2.1
 Component:  Build System   |Version:  7.0.3
Resolution: |   Keywords:   
  Testcase: |  Blockedby:   
Difficulty: | Os:  Linux
  Blocking: |   Architecture:  x86  
   Failure:  Installing GHC failed  |  
+---
Changes (by simonmar):

  * status:  patch = new
  * failure:  Building GHC failed = Installing GHC failed
  * milestone:  = 7.2.1


Comment:

 `ghc-pwd` is a GHC-compiled binary used by the installer configure script.
 It's trying to call `iconv` to get the locale encoding.  I presume
 TinyCoreLinux is missing some iconv functionality or something, but I'm
 not sure exactly what, or how we should work around it.  Someone will have
 to install TinyCoreLinux and investigate further.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5190#comment:4
GHC http://www.haskell.org/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] #5192: the 'impossible' happened: hsValBindsImplicits: ValBindsIn

2011-05-12 Thread GHC
#5192: the 'impossible' happened: hsValBindsImplicits: ValBindsIn
-+--
Reporter:  CoreyOConnor  |Owner:  simonpj  
Type:  bug   |   Status:  new  
Priority:  normal|Milestone:   
   Component:  Compiler  |  Version:  7.1  
Keywords:| Testcase:   
   Blockedby:|   Difficulty:   
  Os:  Unknown/Multiple  | Blocking:   
Architecture:  Unknown/Multiple  |  Failure:  GHC rejects valid program
-+--
Changes (by simonpj):

  * owner:  = simonpj


Comment:

 I'm on this.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5192#comment:1
GHC http://www.haskell.org/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] #5192: the 'impossible' happened: hsValBindsImplicits: ValBindsIn

2011-05-12 Thread GHC
#5192: the 'impossible' happened: hsValBindsImplicits: ValBindsIn
-+--
Reporter:  CoreyOConnor  |Owner:  simonpj  
Type:  bug   |   Status:  merge
Priority:  normal|Milestone:   
   Component:  Compiler  |  Version:  7.1  
Keywords:| Testcase:   
   Blockedby:|   Difficulty:   
  Os:  Unknown/Multiple  | Blocking:   
Architecture:  Unknown/Multiple  |  Failure:  GHC rejects valid program
-+--
Changes (by simonpj):

  * status:  new = merge


Comment:

 Thanks for identifying this.  Fixed by
 {{{
 commit 10ffbfd2624f37d6d61ecb4b8d42f1463cc1d476
 Author: Simon Peyton Jones simo...@microsoft.com
 Date:   Thu May 12 11:01:34 2011 +0100

 Fix Trac #5192: missing case in hsValBindsImplicits

 This fixes the bug, adds some comments, and a tiny bit of refactoring

 ---

  compiler/hsSyn/HsBinds.lhs |   12 ++--
  compiler/hsSyn/HsUtils.lhs |   13 -
  2 files changed, 14 insertions(+), 11 deletions(-)
 }}}
 This should go into the 7.0.4 branch if possible, so I'll change to
 'merge'.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5192#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #5193: leksah fails to build due to missing p_dyn libraries (filepath)

2011-05-12 Thread GHC
#5193: leksah fails to build due to missing p_dyn libraries (filepath)
---+
Reporter:  deteego |   Owner:   
Type:  bug |  Status:  new  
Priority:  normal  |   Component:  Compiler 
 Version:  7.0.2   |Keywords:  leksah p_dyn filepath
Testcase:  |   Blockedby:   
  Os:  Linux   |Blocking:   
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown 
---+
 When building the following package here
 http://hackage.haskell.org/package/leksah on Archlinux (with latest GHC
 7.0.2 as normal), the following error comes up. I am generating the
 packages through cabal2arch if that makes a difference (I am not sure if
 this bug is platform dependent or not)

 src/IDE/Leksah.hs:71:8-22:
 Could not find module `System.FilePath':
   Perhaps you haven't installed the p_dyn libraries for package
 `filepath-1.2.0.0'?
   Use -v to see a list of the files searched for.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5193
GHC http://www.haskell.org/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] #4359: Implement lambda-case/lambda-if

2011-05-12 Thread GHC
#4359: Implement lambda-case/lambda-if
-+--
Reporter:  batterseapower|Owner:  
Type:  feature request   |   Status:  new 
Priority:  high  |Milestone:  7.2.1   
   Component:  Compiler  |  Version:  7.1 
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  Unknown/Multiple  | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--

Comment(by claus):

 I'd vote for requiring explicit braces for multi-clause-lambdas - better
 than breaking so much {{{\}}}-code. Perhaps ask for feedback on ghc-users,
 or where the mailing list threads were?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4359#comment:38
GHC http://www.haskell.org/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] #5078: Test failed: Change in ghci-debugger message format?

2011-05-12 Thread GHC
#5078: Test failed: Change in ghci-debugger message format?
--+-
Reporter:  daniel.is.fischer  |Owner:  duncan  
Type:  bug|   Status:  new 
Priority:  normal |Milestone:  
   Component:  Test Suite |  Version:  7.0.3   
Keywords: | Testcase:  
   Blockedby: |   Difficulty:  
  Os:  Unknown/Multiple   | Blocking:  
Architecture:  Unknown/Multiple   |  Failure:  None/Unknown
--+-
Changes (by duncan):

  * owner:  = duncan


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5078#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #5194: Fix build broke build?

2011-05-12 Thread GHC
#5194: Fix build broke build?
--+-
Reporter:  daniel.is.fischer  |   Owner: 
Type:  bug|  Status:  new
Priority:  normal |   Component:  Compiler   
 Version:  7.1|Keywords: 
Testcase: |   Blockedby: 
  Os:  Linux  |Blocking: 
Architecture:  x86| Failure:  Building GHC failed
--+-
 changeset 5bfa6a6382a4e4b949d333b1996065e9bcfacb18 removed `import Config`
 from `compiler/nativeGen/AsmCodeGen.lhs`, building failed with
 {{{
 compiler/nativeGen/AsmCodeGen.lhs:457:55:
 Not in scope: `cProjectVersion'
 }}}
 Reinserting the import made `AsmCodeGen.lhs` compile again, I'd be
 surprised if it breaks the build later on (build currently underway).

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5194
GHC http://www.haskell.org/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] #5185: dynamic001 fails due to printing types qualified

2011-05-12 Thread GHC
#5185: dynamic001 fails due to printing types qualified
---+
 Reporter:  daniel.is.fischer  |  Owner:  
 Type:  bug| Status:  closed  
 Priority:  normal |  Component:  Test Suite  
  Version:  7.1| Resolution:  fixed   
 Keywords: |   Testcase:  
Blockedby: | Os:  Unknown/Multiple
 Blocking: |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown   |  
---+
Changes (by daniel.is.fischer):

  * status:  new = closed
  * resolution:  = fixed


Comment:

 Fixed by changeset 2b1b58204204a17781bd39259055cd05000638b3

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5185#comment:1
GHC http://www.haskell.org/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] #5194: Fix build broke build?

2011-05-12 Thread GHC
#5194: Fix build broke build?
--+-
Reporter:  daniel.is.fischer  |   Owner: 
Type:  bug|  Status:  new
Priority:  normal |   Component:  Compiler   
 Version:  7.1|Keywords: 
Testcase: |   Blockedby: 
  Os:  Linux  |Blocking: 
Architecture:  x86| Failure:  Building GHC failed
--+-

Comment(by daniel.is.fischer):

 Built successfully, now running the testsuite.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5194#comment:1
GHC http://www.haskell.org/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] #5133: Random instance for Float can generate values out of requested range

2011-05-12 Thread GHC
#5133: Random instance for Float can generate values out of requested range
-+--
Reporter:  richardsenington  |   Owner:
Type:  bug   |  Status:  new   
Priority:  normal|   Component:  libraries/base
 Version:  7.1   |Keywords:  System.Random 
Testcase:|   Blockedby:
  Os:  Linux |Blocking:
Architecture:  x86   | Failure:  None/Unknown  
-+--

Comment(by daniel.is.fischer):

 Strictly speaking, the documentation says normally:
 {{{
 -- * For fractional types, the range is normally the semi-closed interval
 -- @[0,1)@.
 }}}
 So it's not against the letters of the spec. But it would of course be
 better if it didn't produce 1. However, avoiding that would cost
 performance. I'm going to benchmark how much.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5133#comment:2
GHC http://www.haskell.org/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] #5193: leksah fails to build due to missing p_dyn libraries (filepath)

2011-05-12 Thread GHC
#5193: leksah fails to build due to missing p_dyn libraries (filepath)
---+
Reporter:  deteego |   Owner:   
Type:  bug |  Status:  new  
Priority:  normal  |   Component:  Compiler 
 Version:  7.0.2   |Keywords:  leksah p_dyn filepath
Testcase:  |   Blockedby:   
  Os:  Linux   |Blocking:   
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown 
---+

Comment(by MagnusTherning):

 Are you using a version of GHC that you have compiled and installed
 yourself or the ArchLinux package for GHC?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5193#comment:1
GHC http://www.haskell.org/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] #5193: leksah fails to build due to missing p_dyn libraries (filepath)

2011-05-12 Thread GHC
#5193: leksah fails to build due to missing p_dyn libraries (filepath)
---+
Reporter:  deteego |   Owner:   
Type:  bug |  Status:  infoneeded   
Priority:  normal  |   Component:  Compiler 
 Version:  7.0.2   |Keywords:  leksah p_dyn filepath
Testcase:  |   Blockedby:   
  Os:  Linux   |Blocking:   
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown 
---+

Comment(by deteego):

 Im using the default Archlinux ghc package

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5193#comment:3
GHC http://www.haskell.org/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] #5193: leksah fails to build due to missing p_dyn libraries (filepath)

2011-05-12 Thread GHC
#5193: leksah fails to build due to missing p_dyn libraries (filepath)
---+
Reporter:  deteego |   Owner:   
Type:  bug |  Status:  infoneeded   
Priority:  normal  |   Component:  Compiler 
 Version:  7.0.2   |Keywords:  leksah p_dyn filepath
Testcase:  |   Blockedby:   
  Os:  Linux   |Blocking:   
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown 
---+

Comment(by MagnusTherning):

 Then I strongly suspect that this is a bug caused by the packaging of GHC
 in ArchLinux, and I think this bug should be raised against the package on
 Arch's bug tracker.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5193#comment:4
GHC http://www.haskell.org/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] #5193: leksah fails to build due to missing p_dyn libraries (filepath)

2011-05-12 Thread GHC
#5193: leksah fails to build due to missing p_dyn libraries (filepath)
---+
Reporter:  deteego |   Owner:   
Type:  bug |  Status:  infoneeded   
Priority:  normal  |   Component:  Compiler 
 Version:  7.0.2   |Keywords:  leksah p_dyn filepath
Testcase:  |   Blockedby:   
  Os:  Linux   |Blocking:   
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown 
---+

Comment(by deteego):

 Sure thats fine, close it here then

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5193#comment:5
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs