maxigit / Metamorphosis

TemplateHaskell functions to generate types and converter function.
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

Publish on Hackage #3

Open yaitskov opened 2 months ago

yaitskov commented 2 months ago

Hi,

The library looks useful. In my case I want to use Metamorphosis to shrink output only fields from BigQuery types. e.g. https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#resource:-dataset. A big product type such as Dataset has a few mandatory fields used only for sending responses.

I was looking for haddocks (haddocks is especially useful for TH functions accepting DSL), but it turned out that the library is still not published on Hackage.

maxigit commented 2 months ago

That seem to be the exact use case for Metamorphosis. However I not sure I understand your comment about Haddocks. About hackage, is that to be able to see the doc or to use it (I use stack so I just specify the github url in stack.yml).

yaitskov commented 2 months ago

I use nix so pulling the lib is not a problem for me either. Publishing library onto hackage would attract more users. I know giving advice about names is counterproductive, but I give it a try. As far as I know cabal packages currently follow low-case convention. QuickCheck is old library. So having capital letter in the name might scary away new potential users.

maxigit commented 2 months ago

That's a valid point. Let me know if you find it usefull and I'll publish it then.