We can use http://hackage.haskell.org/package/quickcheck-classes package to check the laws using QuickCheck. Especially since we have many typeclasses it is a good idea to check the laws automatically to make sure that we are lawful and do not break the laws inadvertently.
We can use http://hackage.haskell.org/package/quickcheck-classes package to check the laws using QuickCheck. Especially since we have many typeclasses it is a good idea to check the laws automatically to make sure that we are lawful and do not break the laws inadvertently.