pierrenodet / lunium

An attempt to do a zero dependency, tagless and bifunctor based library for WebDrivers 🌑
https://pierrenodet.github.io/lunium
Apache License 2.0
2 stars 3 forks source link

[Laws] How to mix Discipline and F[_,_] ? #2

Open pierrenodet opened 4 years ago

pierrenodet commented 4 years ago

There is examples on the internet to use discipline and tagless final : https://www.iteratorshq.com/blog/tagless-with-discipline-testing-scala-code-the-right-way/

But is it possible to check if the production-interpreter (not a test-interpreter) is lawful (if we can define laws for our algebras) ?

pierrenodet commented 4 years ago

https://www.youtube.com/watch?v=mkQLU7OzqYM is just perfect