speculate-0.2.0: discovery of properties about Haskell functions

Safe HaskellNone
LanguageHaskell2010

Test.Speculate.Expr.Equate

Description

This module exports smart constructors, smart destructors and queries over equations, inequations and conditional equations.

Synopsis

Documentation

uselessEquation :: Expr -> Bool Source #

Given an equation encoded as an Expr. Checks if both sides of an equation are the same. If the Expr is not an equation, this raises an error.