Skip to content

instance Ord IntSet is broken since #670 #783

@Bodigrim

Description

@Bodigrim

Upgrading GHC 8.10.4 -> 8.10.5 appears more challenging than expected. This bug fix release actually bumps containers from 0.6.2.1 to 0.6.4.1, which is a 2500-lines long patch, breaking instance Ord IntSet:

$ cabal repl --constraint 'containers == 0.6.2.1'

> Data.IntSet.fromList [255,256] > Data.IntSet.singleton 254
True

$ cabal repl --constraint 'containers == 0.6.4.1’

> Data.IntSet.fromList [255,256] > Data.IntSet.singleton 254
False

CC @wz1000, because it would be nice to fix this one way or another in GHC 8.10.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions