pa-ba / compdata

Haskell library implementing "Data Types a la Carte"
http://hackage.haskell.org/package/compdata
Other
89 stars 27 forks source link

Put compdata in stackage again #32

Closed flip111 closed 3 years ago

flip111 commented 3 years ago

Hey thanks for this library. I saw that it used to be on stackage, unfortunately it's not longer there in the latest LTS. Could it be put back? https://www.stackage.org/lts-16.19/hoogle?q=compdata

pa-ba commented 3 years ago

The dependency on tree-view, which is not on Stackage, blocks this at the moment.

flip111 commented 3 years ago

In what order would be your preference between these choices?

  1. get rid of the functionality tree-view provides
  2. put tree-view on stackage
  3. replace tree-view with another package that does the same
  4. write code to replace tree-view

what for does compdata use tree-view ?

emilaxelsson commented 3 years ago

The tree-view rendering was added by me, and I'm also the tree-view maintainer. Putting tree-view on Stackage looks like it should be straightforward given that it has minimal dependencies. I'll give that a shot today.

emilaxelsson commented 3 years ago

Here's the PR to add tree-view to Stackage: https://github.com/commercialhaskell/stackage/pull/5855

emilaxelsson commented 3 years ago

Here's the PR to add tree-view to Stackage: commercialhaskell/stackage#5855

Now merged.

pa-ba commented 3 years ago

Thanks @emilaxelsson!

I filed a PR to add compdata to stackage: https://github.com/commercialhaskell/stackage/pull/5857

pa-ba commented 3 years ago

PR to add compdata to stackage has been merged: https://github.com/commercialhaskell/stackage/pull/5857