alex icon indicating copy to clipboard operation
alex copied to clipboard

Don't vendor Ranged-sets?

Open Ericson2314 opened this issue 3 years ago • 2 comments

Right now, https://hackage.haskell.org/package/Ranged-sets depends on big deps like HUnit and QuickCheck. But I have a PR https://github.com/PaulJohnson/Ranged-sets/pull/4 so there is a flag to disable the arbitrary instances and it just depends on base. At that point, I don't see why we just delete the vendored code and use that instead?

Ericson2314 avatar Mar 19 '21 03:03 Ericson2314

A reason could be that atm, Alex depends only on libraries that ship with GHC (https://wiki.haskell.org/Core_Libraries_Committee#Core_Libraries). This might be a property worth preserving. (But I don't have insight into the GHC build process, for instance.)

andreasabel avatar Jun 15 '21 14:06 andreasabel

Yeah I won't pull the trigger on this until I bring up on ghc-devs. Maybe we could have a flag to either use or not use the vendored part as a stop-gap to track divergence too.

Ericson2314 avatar Jun 15 '21 18:06 Ericson2314