Copyright | (c) 2016-2017 Rudy Matela |
---|---|
License | 3-Clause BSD (see the file LICENSE) |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Safe Haskell | None |
Language | Haskell2010 |
This module is part of Speculate.
This module exports smart constructors, smart destructors and queries over equations, inequations and conditional equations.
- equation :: Instances -> Expr -> Expr -> Maybe Expr
- unEquation :: Expr -> (Expr, Expr)
- isEquation :: Expr -> Bool
- uselessEquation :: Expr -> Bool
- usefulEquation :: Expr -> Bool
- phonyEquation :: Expr -> Expr -> Expr
- comparisonLT :: Instances -> Expr -> Expr -> Maybe Expr
- comparisonLE :: Instances -> Expr -> Expr -> Maybe Expr
- unComparison :: Expr -> (Expr, Expr)
- implication :: Expr -> Expr -> Maybe Expr
- unImplication :: Expr -> (Expr, Expr)
- usefulImplication :: Expr -> Bool
- conditionalEquation :: Instances -> Expr -> Expr -> Expr -> Maybe Expr
- unConditionalEquation :: Expr -> (Expr, Expr, Expr)
- usefulConditionalEquation :: Expr -> Bool
- conditionalComparisonLT :: Instances -> Expr -> Expr -> Expr -> Maybe Expr
- conditionalComparisonLE :: Instances -> Expr -> Expr -> Expr -> Maybe Expr
- unConditionalComparison :: Expr -> (Expr, Expr, Expr)
Documentation
isEquation :: Expr -> Bool Source #
uselessEquation :: Expr -> Bool Source #
usefulEquation :: Expr -> Bool Source #
usefulImplication :: Expr -> Bool Source #
usefulConditionalEquation :: Expr -> Bool Source #