This module is part of LeanCheck, a simple enumerative property-based
testing library.
This module exports an orphan
Show instance for functions. It
shows functions as up to 8 case distinctions, one per line.
Please see
Test.LeanCheck.Function.Show.FourCases for an
alternative that shows functions as up to 4 case distinctions in a
single line.
The
Show -> instance only works for functions of
which ultimate return types are instances of the
ShowFunction
typeclass. Please see
Test.LeanCheck.Function.ShowFunction for
how to define these instances for your user-defined algebraic
datatypes.
Warning: this is only intended to be used in testing modules. Avoid
importing this on modules that are used as libraries.