Proposal: Stop using PackedString in template-haskell; drop packedstring as a bootlib

Simon Marlow marlowsd at
Mon Jun 1 11:52:48 EDT 2009

Proposal ticket here:

Deadline for discussion: June 15 (2 weeks)

Text of the proposal:

The `packedstring` library has been superseded by the `bytestring` and 
`text` libraries, yet we are still shipping it with GHC for only one 
reason: it is used in the representations of three types in 

The proposal is that we

  * make the types `ModName`, `PkgName`, and `OccName` from 
`Language.Haskell.TH.Syntax` into abstract newtypes (an API change)

  * change their representation from `PackedString` to `String`

  * drop the `packedstring` library from the bootlibs that GHC ships with

Relevant discussions:

  * []

More information about the Libraries mailing list