Safe Haskell | None |
---|---|

Language | Haskell98 |

A wrapper that provides instances of Haskell 98 and NumericPrelude numeric type classes for types that have Haskell 98 instances.

# Documentation

This makes a type usable in the NumericPrelude framework
that was initially implemented for Haskell98 typeclasses.
E.g. if `a`

is in class `Num`

,
then `T a`

is both in class `Num`

and in `C`

.

You can even lift container types.
If `Polynomial a`

is in `Num`

for all types `a`

that are in `Num`

,
then `T (Polynomial (MathObj.Wrapper.NumericPrelude.T a))`

is in `C`

for all types `a`

that are in `C`

.

Functor T Source # | |

Bounded a => Bounded (T a) Source # | |

Enum a => Enum (T a) Source # | |

Eq a => Eq (T a) Source # | |

Floating a => Floating (T a) Source # | |

Fractional a => Fractional (T a) Source # | |

Integral a => Integral (T a) Source # | |

Num a => Num (T a) Source # | |

Ord a => Ord (T a) Source # | |

Real a => Real (T a) Source # | |

RealFloat a => RealFloat (T a) Source # | |

RealFrac a => RealFrac (T a) Source # | |

Show a => Show (T a) Source # | |

Ix a => Ix (T a) Source # | |

Num a => C (T a) Source # | |

(Eq a, Num a) => C (T a) Source # | |

Num a => C (T a) Source # | |

Integral a => C (T a) Source # | |

Integral a => C (T a) Source # | |

Integral a => C (T a) Source # | |

Num a => C (T a) Source # | |

Fractional a => C (T a) Source # | |

Real a => C (T a) Source # | |

Integral a => C (T a) Source # | |

Integral a => C (T a) Source # | |

Floating a => C (T a) Source # | |

Floating a => C (T a) Source # | |

RealFrac a => C (T a) Source # | |

RealFrac a => C (T a) Source # | |

RealFloat a => C (T a) Source # | |

RealFloat a => C (T a) Source # | |

unimplemented :: String -> a Source #