noinia / hgeometry

HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms.
121 stars 40 forks source link

hgeometry on Stackage #224

Open mrehayden1 opened 5 months ago

mrehayden1 commented 5 months ago

Was it decided to remove hgeometry from stackage?

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

mrehayden1 commented 5 months ago

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

noinia commented 5 months ago

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).

mrehayden1 commented 5 months ago

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.

ysangkok commented 3 weeks ago

@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.