<div dir="auto">Hey Daniel!<div dir="auto"><br></div><div dir="auto">Thanks for your interest to Cabal!</div><div dir="auto"><br></div><div dir="auto">I don't see a reason to not add the import. If you submit a PR, that probably could appear in Cabal 3.12.</div><div dir="auto"><br></div><div dir="auto">A meta comment: questions like this may be better served at Cabal's bug tracker on GitHub.</div><div dir="auto"><br></div><div dir="auto">--</div><div dir="auto">Kind regards,</div><div dir="auto">Artem</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 14, 2023, 12:52 PM Daniel Trstenjak <<a href="mailto:daniel.trstenjak@gmail.com">daniel.trstenjak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to update my tool cabal-bounds[1] to the newest version of<br>
the Cabal library.<br>
<br>
My tool needs to convert a [VersionInterval] into a VersionRange, which<br>
currently doesn't seem to be possible, because the data constructor<br>
of VersionIntervals isn't exported from Distribution.Types.VersionInterval.<br>
<br>
<br>
Best regards,<br>
Daniel Trstenjak<br>
<br>
<br>
[1] <a href="https://github.com/dan-t/cabal-bounds" rel="noreferrer noreferrer" target="_blank">https://github.com/dan-t/cabal-bounds</a><br>
_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org" target="_blank" rel="noreferrer">cabal-devel@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
</blockquote></div>