| Maintainer | hapytexeu+gh@gmail.com |
|---|---|
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Dep.Class.Simplify
Description
A typeclass to specify that values of the type can be simplified.
class Simplify a where Source #
A typeclass that specifies that the the values of the given type sometimes
can be simplfied. The simplify operation is idempotent: calling it multiple
times has the same effect as calling it once.
Methods
Arguments
| :: a | The given object to simplify. |
| -> a | The correspoding simplified relevant. |