Re: Behavior of the inliner on imported class methods

2011-01-19 Thread José Pedro Magalhães
Hi Roman, Thanks for the suggestion, but that doesn't seem to change things. Cheers, Pedro 2011/1/19 Roman Leshchinskiy r...@cse.unsw.edu.au Have you tried adding another (dummy) method to the class? GHC used to have problems with optimising single-method classes in the past. Roman On

backward compatibility

2011-01-19 Thread 山本和彦
Hello, I have been using GHC HEAD for some months and am suffering from the breaks of backward compatibility. 1) MANY packages cannot be complied with GHC HEAD because of lack of FlexibleInstances and BangPatterns. 2) The network package on github cannot be compiled because the layout

Re: backward compatibility

2011-01-19 Thread Thomas DuBuisson
In my case I omitted BangPatterns from the pragma by accident and was thankful for the update. One slight benefit of the strict requirement of correct pragma is it's easier to survey Hackage to see how features are used, their popularity, and inform language design (ex: Garrett Morris's Haskell

Re: backward compatibility

2011-01-19 Thread John Meacham
On Wed, Jan 19, 2011 at 6:32 PM, Kazu Yamamoto k...@iij.ad.jp wrote: Hello, I have been using GHC HEAD for some months and am suffering from the breaks of backward compatibility. 1) MANY packages cannot be complied with GHC HEAD because of lack of FlexibleInstances and BangPatterns. 2)

Cleaning up after the Close button is pressed

2011-01-19 Thread Colin Hume
Hi everyone, I posted previously on haskell-beginners about an issue which would have been better directed to this list. Since then, I have revisited the issue and am now even less certain of its cause. I have to perform cleanup when my application terminates. GHC.ConsoleHandler handles