-
Notifications
You must be signed in to change notification settings - Fork 0
/
Eta-Classes-Real.html
6 lines (6 loc) · 7.04 KB
/
Eta-Classes-Real.html
1
2
3
4
5
6
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Eta.Classes.Real</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Eta-Classes-Real.html");};
//]]>
</script></head><body class="no-frame"><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption empty"> </p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr></table><p class="caption">Eta.Classes.Real</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The <code><a href="Eta-Classes-Real.html#t:Real">Real</a></code> type class defines how to convert
a numerical value into a full precision <code>Rational</code>
value</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Eta-Classes-Num.html#t:Num">Num</a> a, <a href="Eta-Classes-Ord.html#t:Ord">Ord</a> a) => <a id="t:Real" class="def">Real</a> a <span class="keyword">where</span> <a href="#t:Real" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Eta-Classes-Real.html#v:toRational">toRational</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toRational" class="def">toRational</a> :: a -> Rational <a href="#v:toRational" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Real" class="caption collapser" onclick="toggleSection('i:Real')">Instances</p><div id="section.i:Real" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:1" class="instance expander" onclick="toggleSection('i:ic:Real:Real:1')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> <a href="Eta-Types.html#t:Int">Int</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:2" class="instance expander" onclick="toggleSection('i:ic:Real:Real:2')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> <a href="Eta-Types.html#t:Int8">Int8</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:3" class="instance expander" onclick="toggleSection('i:ic:Real:Real:3')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> <a href="Eta-Types.html#t:Int16">Int16</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:4" class="instance expander" onclick="toggleSection('i:ic:Real:Real:4')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> <a href="Eta-Types.html#t:Int32">Int32</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:5" class="instance expander" onclick="toggleSection('i:ic:Real:Real:5')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> <a href="Eta-Types.html#t:Int64">Int64</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:6" class="instance expander" onclick="toggleSection('i:ic:Real:Real:6')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> Integer</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: Integer -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:7" class="instance expander" onclick="toggleSection('i:ic:Real:Real:7')"></span> <a href="Eta-Classes-Real.html#t:Real">Real</a> Word</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: Word -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Real:Real:8" class="instance expander" onclick="toggleSection('i:ic:Real:Real:8')"></span> <a href="Eta-Classes-Integral.html#t:Integral">Integral</a> a => <a href="Eta-Classes-Real.html#t:Real">Real</a> (Ratio a)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Real:Real:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRational">toRational</a> :: Ratio a -> Rational <a href="#v:toRational" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.4</p></div></body></html>