| Copyright | (c) 2008-2014 Twan van Laarhoven |
|---|---|
| License | BSD-style |
| Maintainer | twanvl@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Debug.SimpleReflect.Expr
Contents
Description
Simple reflection of haskell expressions containing variables.
Construction
A reflected expression
Instances
| Monoid Expr Source # | |
| Semigroup Expr Source # | |
| Bounded Expr Source # | |
| Enum Expr Source # | |
| Floating Expr Source # | |
Defined in Debug.SimpleReflect.Expr | |
| Num Expr Source # | |
| Fractional Expr Source # | |
| Integral Expr Source # | |
Defined in Debug.SimpleReflect.Expr | |
| Real Expr Source # | |
Defined in Debug.SimpleReflect.Expr Methods toRational :: Expr -> Rational Source # | |
| Show Expr Source # | |
| Eq Expr Source # | |
| Ord Expr Source # | |
Defined in Debug.SimpleReflect.Expr | |
| FromExpr Expr Source # | |
data Associativity Source #
This data type specifies the associativity of operators: left, right or none.
Instances
| Eq Associativity Source # | |
Defined in Debug.SimpleReflect.Expr Methods (==) :: Associativity -> Associativity -> Bool Source # (/=) :: Associativity -> Associativity -> Bool Source # | |
op :: Associativity -> Int -> String -> Expr -> Expr -> Expr Source #
An infix operator with the given associativity, precedence and name