External Publication
Visit Post

Using different versions of the same dependency like Rust

Haskell Community [Unofficial] June 25, 2026
Source

jaror:

Imagined syntax:

  build-deps: base
            , http-types ^>= 0.12.5 as old-http-types
            , http-types ^>= 1.0.0  as new-http-types




import "old-http-types" Network.HTTP.Types as Old
import "new-http-types" Network.HTTP.Types as New

Not to climb on to a dead horse, but doesn’t backpack/mixins already make this possible? Or does it get disallowed because they’re the same underlying package…

[Edit] seems it is possible: [RFC] "http-types" breakage / additions / rework - #51 by fendor

Discussion in the ATmosphere

Loading comments...