Maintainer | bastiaan.heeren@ou.nl |
---|---|

Stability | provisional |

Portability | portable (depends on ghc) |

Safe Haskell | Safe |

Language | Haskell2010 |

# Documentation

data SquareRoot a Source #

## Instances

imaginary :: SquareRoot a -> Bool Source #

imaginaryUnit :: Num a => SquareRoot a Source #

toList :: SquareRoot a -> [(a, Integer)] Source #

scale :: (Eq a, Num a) => a -> SquareRoot a -> SquareRoot a Source #

fromSquareRoot :: Num a => SquareRoot a -> Maybe a Source #

sqrtRational :: (Eq a, Fractional a) => Rational -> SquareRoot a Source #

eval :: Floating a => SquareRoot a -> a Source #