Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Gwern Branwen
On Wed, May 13, 2009 at 6:31 PM, Don Stewart wrote: > Do you have a patch? No. This was a while ago, and the changes really are trivial. I thought about submitting it, but it seemed to me that the change could only be useful when people upgrade their entire compiler/library infrastructure - link

Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Don Stewart
gwern0: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Wed, May 13, 2009 at 7:45 AM, Robin Green wrote: > > I don't agree. TH can sometimes slow down a build considerably. I don't > > want to see it getting even slower. > > I once switched TH to Strings. All the uses are trivial, and

Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Don Stewart
ketil: > > Not of the same gravity as mtl, but I was a bit surprised to see that > PackedString was included, in spite of it being marked as deprecated > on Hackage. Ketil, I would encourage you to open a ticket on the platform wiki summarising the state of the packedstring issue. -- Don __

Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, May 13, 2009 at 7:45 AM, Robin Green wrote: > I don't agree. TH can sometimes slow down a build considerably. I don't > want to see it getting even slower. I once switched TH to Strings. All the uses are trivial, and the encoded strings so

Re: Re[2]: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Duncan Coutts
On Wed, 2009-05-13 at 15:37 +0400, Bulat Ziganshin wrote: > Hello Duncan, > > Wednesday, May 13, 2009, 3:33:13 PM, you wrote: > > > I think it should remain deprecated and we should work on the > > replacement so that TH can switch its dependency. > > TH isn't high-performance package and i thin

Re[2]: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Bulat Ziganshin
Hello Robin, Wednesday, May 13, 2009, 3:45:57 PM, you wrote: >> TH isn't high-performance package and i think that it should just >> switch to use of String > I don't agree. TH can sometimes slow down a build considerably. I don't > want to see it getting even slower. i think GHC compile times

Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Robin Green
On Wed, 13 May 2009 15:37:52 +0400 Bulat Ziganshin wrote: > Hello Duncan, > > Wednesday, May 13, 2009, 3:33:13 PM, you wrote: > > > I think it should remain deprecated and we should work on the > > replacement so that TH can switch its dependency. > > TH isn't high-performance package and i th

Re[2]: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Bulat Ziganshin
Hello Duncan, Wednesday, May 13, 2009, 3:33:13 PM, you wrote: > I think it should remain deprecated and we should work on the > replacement so that TH can switch its dependency. TH isn't high-performance package and i think that it should just switch to use of String -- Best regards, Bulat

Re: The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Duncan Coutts
On Wed, 2009-05-13 at 10:24 +0200, Ketil Malde wrote: > Not of the same gravity as mtl, but I was a bit surprised to see that > PackedString was included, in spite of it being marked as deprecated > on Hackage. TemplateHaskell still uses it. There was not a lot we could do for the first release. S

The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

2009-05-13 Thread Ketil Malde
Not of the same gravity as mtl, but I was a bit surprised to see that PackedString was included, in spite of it being marked as deprecated on Hackage. Presumably, this is because some other library depends on this, but I think platform-blessing a deprecated library is a strange thing to do. If t