Re: Data constructor of VersionIntervals not exported

2023-05-15 Thread David Fox
Isn't that `fromVersionIntervals . mkVersionIntervals`? On Sun, May 14, 2023 at 9:52 AM Daniel Trstenjak wrote: > Hi, > > I'm trying to update my tool cabal-bounds[1] to the newest version of > the Cabal library. > > My tool needs to convert a [VersionInterval] into a VersionRange, which > curre

Re: Data constructor of VersionIntervals not exported

2023-05-15 Thread Daniel Trstenjak
Hi David, > Isn't that `fromVersionIntervals . mkVersionIntervals`? 'mkVersionIntervals' is now only present in the module 'Distribution.Types.VersionInterval.Legacy'. But 'Distribution.Types.VersionInterval.Legacy' and 'Distribution.Types.VersionInterval' also contain incompatible type defini