Re: my experience with ghci debugger extensions

2009-02-19 Thread Peter Hercek
Peter Hercek wrote: Pepe Iborra wrote: - Regarding your :logLocal, you should rename it to :stepLocal, open a ticket, and attach your patch. We should really try to get this into 6.10.2. Ach, I missed I'm supposed to do this first time I read the message. I'll get to it at worst during this

Re: Plans for GHC 6.10.2

2009-02-19 Thread Ian Lynagh
On Tue, Feb 10, 2009 at 04:42:39PM +, Ian Lynagh wrote: We expect to have a release candidate ready around the end of next week. We've decided to push this back by a couple of weeks, due to paper deadlines. Thanks Ian ___ Glasgow-haskell-users

Re: Building GHC on Windows

2009-02-19 Thread Simon Marlow
Felix Martini wrote: Simon Marlow has recently posted a patch that adds Unicode support to Handle I/O. He mentioned that it didn't work yet on Windows so i was thinking of looking at the source code to see how the new Unicode support works and perhaps try to make it work on Windows. Thanks -

Re: Compiler optimizations questions for ghc 6.10...

2009-02-19 Thread Krasimir Angelov
I was surprised to see this case expression: case GHC.Prim.-# 9223372036854775807 ipv_s1bD of wild2_a1xi [ALWAYS Just L] { What is the purpose to compare the value with maxBound before the division? The case expression doesn't disappear even if I use quot instead of div.

Re: Compiler optimizations questions for ghc 6.10...

2009-02-19 Thread Max Bolingbroke
2009/2/19 Krasimir Angelov kr.ange...@gmail.com: I was surprised to see this case expression: case GHC.Prim.-# 9223372036854775807 ipv_s1bD of wild2_a1xi [ALWAYS Just L] { What is the purpose to compare the value with maxBound before the division? The case expression doesn't

GHC 6.10 changes for recursive calls to class instances

2009-02-19 Thread Ganesh Sittampalam
Hi, I have a problem in GHC 6.10 with functions in a class instance calling other functions in the same class instance. It seems that the dictionary is freshly constructed for this call, despite being already available. The reason I care is that I want to memoise some expensive computations

Re: Compiler optimizations questions for ghc 6.10...

2009-02-19 Thread Krasimir Angelov
Oh. I looked at the primops.txt.pp for something suspicious but I didn't checked the actual implementation of quot. I thought that quot calls quotInt# directly. When I use quotInt in the code I can get the real idiv assembly instruction. Still the code generated by GHC is strange it doesn't throw

Re: Compiler optimizations questions for ghc 6.10...

2009-02-19 Thread Tyson Whitehead
On February 19, 2009 18:20:33 Krasimir Angelov wrote: Oh. I looked at the primops.txt.pp for something suspicious but I didn't checked the actual implementation of quot. I thought that quot calls quotInt# directly. When I use quotInt in the code I can get the real idiv assembly instruction.