hgeometry icon indicating copy to clipboard operation
hgeometry copied to clipboard

hgeometry on Stackage

Open mrehayden1 opened this issue 2 years ago • 4 comments

Was it decided to remove hgeometry from stackage?

It seems to have been removed around the release of GHC 9.4

mrehayden1 avatar Apr 11 '24 10:04 mrehayden1

It's looking like getting vector-circular working with GHC 9.4+ would at least allow us to use hgeometry as an extra-dep, so I've opened an issue there.

https://github.com/chessai/vector-circular/issues/17

mrehayden1 avatar Apr 11 '24 10:04 mrehayden1

I don't think there is/was a conscience decision; it's just that I don't use stackage, so I didn't keep it up to date ;).

Furthermore, do keep in mind that last week I updated them master branch to a version in which I've rewritten large parts of hgeometry to use a more classy approach (to hopefully speed up some of the algorithms and make them more usable); this version is also not on hackage yet. (I will do that once I have the polygon triangulation stuff back up).

noinia avatar Apr 11 '24 16:04 noinia

Okay.

It would be a shame to not be able to use such a great lib with stack.

I've forked vector-circular and patched it to get it working with GHC 9.4, which seems to be working for me so far.

mrehayden1 avatar Apr 11 '24 16:04 mrehayden1

@noinia The package would get automatically updated in Stackage if it is compatible with the latest version of all libraries, as reported by e.g. cabal outdated. So it really isn't a Stackage specific issue. vector-circular hasn't been uploaded since 2022. I'll submit a PR for it, but I just wanted to clarify that the reason for why the package is not in Stackage.

ysangkok avatar Sep 04 '24 04:09 ysangkok