{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreia3qdw65cp6eywnnktfaxfehapyh5djv2vyzihyokna3bvbawyxhu",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mooip6nveap2"
  },
  "path": "/t/rfc-http-types-breakage-additions-rework/14286?page=2#post_30",
  "publishedAt": "2026-06-19T21:41:28.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "chrisdone:\n\n> I think we could extend GHC’s `PackageImports` (or add a new extension) to be able to specify major versions and that would let GHC expose multiple versions of a package at once.\n\nYeah, that sounds like it could work. We can also copy cargo’s feature of renaming packages which solves the package imports problem. Imagined syntax:\n\n\n      build-deps: base\n                , http-types ^>= 0.12.5 as old-http-types\n                , http-types ^>= 1.0.0  as new-http-types\n\n\n\n    import \"old-http-types\" Network.HTTP.Types as Old\n    import \"new-http-types\" Network.HTTP.Types as New\n",
  "title": "[RFC] \"http-types\" breakage / additions / rework"
}