Closed TomasMikula closed 9 years ago
This looks really nice, thanks!
:+1: from me for sure.
Awesome!
@TomasMikula If you're inclined, feel free to file a pull request to discipline!
@larsrh I had to roll my own version of discipline for a project to overcome some limitations/complexities of discipline. Hopefully I will get around to bringing up that discussion soon.
Would love to hear about those.
Alright, I compelled myself to write it up and publish it: https://github.com/TomasMikula/Principled#comparison-to-discipline Interested in your feedback.
Also, I have no interest in fragmenting the ecosystem, so it would be cool if discipline could adopt that approach (or address the issues in any other way).
@TomasMikula Thanks for doing this!
I can confirm that some of the pain points you found are things we have worked around too. Also, I think something like Cats' IsEq[A]
type (for deferring/abstracting over equivalence/equality) would be really nice to have in Discipline.
The solution uses implicit TypeTags to obtain type names.
Resolves #57.
There is a slight change in the name of the tested property. Where the property name used to be
it is now
since the type name obtained from TypeTag is a fully qualified name.