template-haskell depends on packedstring
gwern0 at gmail.com
Sun Nov 30 16:07:15 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, Nov 25, 2008 at 3:21 PM, Duncan Coutts wrote:
> On Sun, 2008-11-23 at 22:53 -0500, Gwern Branwen wrote:
>> So I was trying to compile lambdabot with cabal-install. Lambdabot
>> uses Template Haskell for generating some boilerplate, and it was a
>> failed dependency. Template Haskell uses packedstring for...
>> something... and packedstring was a failed dependency:
>> Could not find module `Data.Data':
>> it is a member of package base, which is hidden
>> Now this is a problem, but it's not the problem I am interested in. I
>> am interested in: why is template-haskell using packedstring? Wasn't
>> packedstring obsoleted years ago?
> The question is if one should break the TH api just to remove this
> deprecated dependency. Especially when it is slated to be replaced with
> an improved unicode packed string type in the future.
> So either we break it once, or twice.
I don't really see why we would need to change the API; let's just
make the types = String, and the conversion functions null-ops. Unless
there's some sort of low-level binary API compatibility you are
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Libraries