Ticket #3270 (closed proposal: fixed)
Stop using PackedString in template-haskell; drop packedstring as a bootlib
| Reported by: | simonmar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Not GHC |
| Component: | None | Version: | 6.10.2 |
| Keywords: | Cc: | gwern0@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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 template-haskell.
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:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

