mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
The tests are implemented by using a newtype wrapper `TestStack`. This is to avoid creating `Eq1` and `Show1` instances for `Stack` itself, which are needed by quickcheck-classes to run with GHC less than 8.5. Tests are automatically generated by `traversalLaws` and `foldableLaws` using the `Arbitrary` instance for `TestStack`.