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