Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- naturalView :: View Expr Integer
- naturalNF :: View Expr Integer
- integerView :: View Expr Integer
- integerNF :: View Expr Integer
- decimalFractionView :: View Expr DecimalFraction
- rationalView :: View Expr Rational
- rationalNF :: View Expr Rational
- rationalRelaxedForm :: View Expr Rational
- fractionForm :: View Expr (Integer, Integer)
- rationalApproxView :: View Expr Rational
- mixedFractionView :: View Expr MixedFraction
- mixedFractionNF :: View Expr MixedFraction
- doubleView :: View Expr Double
- doubleNF :: View Expr Double
Natural numbers
Integers
Decimal fractions
Rational numbers
rationalView :: View Expr Rational Source #
like the original defintion, except that this view now also converts floating point numbers (using an exact approximation)