Ticket #3269 (closed proposal: duplicate)

Opened 4 years ago

Last modified 4 years ago

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:
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:

Change History

Changed 4 years ago by simonmar

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.