Closed subttle closed 3 years ago
I think that datatype providing packages should depend on type class packages. So it should rather be smash
and these
depending on universe-base
.
As maintainer of these
I'm slightly perplexed. I guess that can be added there behind the flag, similarly as assoc
instances. Re smash
I cannot comment.
Please don't use UnicodeSyntax
, especially ℕ
makes me want to ignore this issue.
Please don't use UnicodeSyntax, especially ℕ makes me want to ignore this issue.
In my defense, I did say I would remove the Unicode in the event a PR was welcomed, but I updated the issue for you anyway :)
I think that datatype providing packages should depend on type class packages. So it should rather be smash and these depending on universe-base.
As maintainer of these I'm slightly perplexed. I guess that can be added there behind the flag, similarly as assoc instances. Re smash I cannot comment.
So based on what you're saying I'm thinking I should then close this ticket for now then and open tickets with those packages. Thank you for the advice. Please feel free to reopen if there is anything else to add. Have a nice day!
FWIW, my own personal opinion here is that if the other packages won't accept a new dependency+instance, it should be fine to make our own instances. Though the whole universe-instances-extended
situation seems mildly odd to me; we probably ought to have one universe-*
for each package we write orphans for, with, say, a single module named Data.Universe.Instances.*
. A metapackage universe-instances-extended
that depends on all of them--or some curated subset of them--and re-exports the instances from Data.Universe.Instances
seems completely plausible in that alternate world.
universe-instances-extended can be as well named unvierse-instance-kmett-universe
, I don't see a point of replicating that hierarchy.
Also, it would be nice if say universe-instances-smash
is not maintained by us. I'd like if the maintenance burden would decrease over time, not increase.
Hello again! Thank you all again for this wonderful package and all your hard work on it. I am curious if you would be interested in adding a few more
Finite
instances touniverse-instances-extended
for the basic types found in thethese
package andsmash
package. The code I have now looks something like this, but if you would be interested in a PR, I would of course try to match your coding style (ditch the unicode, etc. [: ) :Edit removed the
UnicodeSyntax
for you @phadej :]Leaving just the
Finite
instances, which are pretty straight forward.I won't be offended if you aren't interested and close the ticket, but let me know if you are interested and I would be happy to make a PR. Thank you for your time and consideration. Have a great day!
P.S. I have an awesome update in the works for my previous PR (regarding the
Equivalence a
type [and I've also addedComparison a
]), thank you so much for your patience with that!