-
Notifications
You must be signed in to change notification settings - Fork 0
/
Eta-Classes-Enum.html
30 lines (30 loc) · 39.8 KB
/
Eta-Classes-Enum.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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.Enum</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-Enum.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.Enum</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The <code><a href="Eta-Classes-Enum.html#t:Enum">Enum</a></code> class defines operations on
sequentially ordered types</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:successor">successor</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a</li><li class="src short"><a href="#v:predecessor">predecessor</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a</li><li class="src short"><a href="#v:toEnumeration">toEnumeration</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => <a href="Eta-Types.html#t:Int">Int</a> -> a</li><li class="src short"><a href="#v:fromEnumeration">fromEnumeration</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> <a href="Eta-Types.html#t:Int">Int</a></li><li class="src short"><a href="#v:enumerateFrom">enumerateFrom</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> [a]</li><li class="src short"><a href="#v:steppingEnumerateFrom">steppingEnumerateFrom</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> [a]</li><li class="src short"><a href="#v:enumerateFromTo">enumerateFromTo</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> [a]</li><li class="src short"><a href="#v:steppingEnumerateFromTo">steppingEnumerateFromTo</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> a -> [a]</li><li class="src short"><span class="keyword">class</span> <a href="#t:Enum">Enum</a> a <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => <a href="Eta-Types.html#t:Int">Int</a> -> a</li><li class="src short"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> <a href="Eta-Types.html#t:Int">Int</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:successor" class="def">successor</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a <a href="#v:successor" class="selflink">#</a></p><div class="doc"><p>Successor of a value</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>successor 1
</code></strong>2
</pre></div></div><div class="top"><p class="src"><a id="v:predecessor" class="def">predecessor</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a <a href="#v:predecessor" class="selflink">#</a></p><div class="doc"><p>Predecessor of a value</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>predecessor 1
</code></strong>0
</pre></div></div><div class="top"><p class="src"><a id="v:toEnumeration" class="def">toEnumeration</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => <a href="Eta-Types.html#t:Int">Int</a> -> a <a href="#v:toEnumeration" class="selflink">#</a></p><div class="doc"><p>Converts an <code><a href="Eta-Types.html#t:Int">Int</a></code> into the equivalent value
of the enumeration</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>toEnumeration 1 :: Bool
</code></strong>True
</pre></div></div><div class="top"><p class="src"><a id="v:fromEnumeration" class="def">fromEnumeration</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnumeration" class="selflink">#</a></p><div class="doc"><p>Converts a value from an enumeration into the
equivalent <code><a href="Eta-Types.html#t:Int">Int</a></code> value</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>fromEnumeration False
</code></strong>0
</pre></div></div><div class="top"><p class="src"><a id="v:enumerateFrom" class="def">enumerateFrom</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> [a] <a href="#v:enumerateFrom" class="selflink">#</a></p><div class="doc"><p>Generates a list from the beginning
of the type to the end</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>take 4 (enumerateFrom 0)
</code></strong>[0,1,2,3]
<code class="prompt">>>> </code><strong class="userinput"><code>enumerateFrom False
</code></strong>[False,True]
</pre></div></div><div class="top"><p class="src"><a id="v:steppingEnumerateFrom" class="def">steppingEnumerateFrom</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> [a] <a href="#v:steppingEnumerateFrom" class="selflink">#</a></p><div class="doc"><p>Generates a list from the beginning
of the type to the end, with steps</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>take 4 (steppingEnumerateFrom 0 2)
</code></strong>[0,2,4,6]
</pre></div></div><div class="top"><p class="src"><a id="v:enumerateFromTo" class="def">enumerateFromTo</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> [a] <a href="#v:enumerateFromTo" class="selflink">#</a></p><div class="doc"><p>Generates a list from the beginning
of the type to the specified limit</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>enumerateFromTo 0 3
</code></strong>[0,1,2,3]
</pre></div></div><div class="top"><p class="src"><a id="v:steppingEnumerateFromTo" class="def">steppingEnumerateFromTo</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> a -> a -> [a] <a href="#v:steppingEnumerateFromTo" class="selflink">#</a></p><div class="doc"><p>Generates a list from the beginning
of the type to the specified limit,
with steps</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>steppingEnumerateFromTo 0 2 8
</code></strong>[0,2,4,6,8]
</pre></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Enum" class="def">Enum</a> a <span class="keyword">where</span> <a href="#t:Enum" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Eta-Classes-Enum.html#v:toEnum">toEnum</a>, <a href="Eta-Classes-Enum.html#v:fromEnum">fromEnum</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toEnum" class="def">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> a <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a id="v:fromEnum" class="def">fromEnum</a> :: a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Enum" class="caption collapser" onclick="toggleSection('i:Enum')">Instances</p><div id="section.i:Enum" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:1" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:1')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> <a href="Eta-Types-Bool.html#t:Bool">Bool</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> [<a href="Eta-Types-Bool.html#t:Bool">Bool</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> [<a href="Eta-Types-Bool.html#t:Bool">Bool</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> [<a href="Eta-Types-Bool.html#t:Bool">Bool</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> <a href="Eta-Types-Bool.html#t:Bool">Bool</a> -> [<a href="Eta-Types-Bool.html#t:Bool">Bool</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:2" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:2')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> <a href="Eta-Types-Char.html#t:Char">Char</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> [<a href="Eta-Types-Char.html#t:Char">Char</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a> -> [<a href="Eta-Types-Char.html#t:Char">Char</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a> -> [<a href="Eta-Types-Char.html#t:Char">Char</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a> -> <a href="Eta-Types-Char.html#t:Char">Char</a> -> [<a href="Eta-Types-Char.html#t:Char">Char</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:3" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:3')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</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:Enum:Enum:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> [<a href="Eta-Types.html#t:Int">Int</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> -> [<a href="Eta-Types.html#t:Int">Int</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> -> [<a href="Eta-Types.html#t:Int">Int</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int">Int</a> -> [<a href="Eta-Types.html#t:Int">Int</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:4" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:4')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</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:Enum:Enum:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int8">Int8</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> [<a href="Eta-Types.html#t:Int8">Int8</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a> -> [<a href="Eta-Types.html#t:Int8">Int8</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a> -> [<a href="Eta-Types.html#t:Int8">Int8</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a> -> <a href="Eta-Types.html#t:Int8">Int8</a> -> [<a href="Eta-Types.html#t:Int8">Int8</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:5" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:5')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</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:Enum:Enum:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int16">Int16</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> [<a href="Eta-Types.html#t:Int16">Int16</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a> -> [<a href="Eta-Types.html#t:Int16">Int16</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a> -> [<a href="Eta-Types.html#t:Int16">Int16</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a> -> <a href="Eta-Types.html#t:Int16">Int16</a> -> [<a href="Eta-Types.html#t:Int16">Int16</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:6" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:6')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</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:Enum:Enum:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int32">Int32</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> [<a href="Eta-Types.html#t:Int32">Int32</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a> -> [<a href="Eta-Types.html#t:Int32">Int32</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a> -> [<a href="Eta-Types.html#t:Int32">Int32</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a> -> <a href="Eta-Types.html#t:Int32">Int32</a> -> [<a href="Eta-Types.html#t:Int32">Int32</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:7" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:7')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</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:Enum:Enum:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Types.html#t:Int64">Int64</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> [<a href="Eta-Types.html#t:Int64">Int64</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a> -> [<a href="Eta-Types.html#t:Int64">Int64</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a> -> [<a href="Eta-Types.html#t:Int64">Int64</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a> -> <a href="Eta-Types.html#t:Int64">Int64</a> -> [<a href="Eta-Types.html#t:Int64">Int64</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:8" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:8')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> Integer</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Integer -> Integer</p><p class="src"><a href="#v:pred">pred</a> :: Integer -> Integer</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Integer <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Integer -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Integer -> [Integer]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Integer -> Integer -> [Integer]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Integer -> Integer -> [Integer]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Integer -> Integer -> Integer -> [Integer]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:9" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:9')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a></span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> [<a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a>]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> [<a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a>]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> [<a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a>]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> <a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a> -> [<a href="Eta-Classes-Ord.html#t:Ordering">Ordering</a>]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:10" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:10')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> Word</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Word -> Word</p><p class="src"><a href="#v:pred">pred</a> :: Word -> Word</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Word <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Word -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Word -> [Word]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Word -> Word -> [Word]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Word -> Word -> [Word]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Word -> Word -> Word -> [Word]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:11" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:11')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> ()</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: () -> ()</p><p class="src"><a href="#v:pred">pred</a> :: () -> ()</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> () <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: () -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: () -> [()]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: () -> () -> [()]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: () -> () -> [()]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: () -> () -> () -> [()]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:12" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:12')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> GeneralCategory</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: GeneralCategory -> GeneralCategory</p><p class="src"><a href="#v:pred">pred</a> :: GeneralCategory -> GeneralCategory</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> GeneralCategory <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: GeneralCategory -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: GeneralCategory -> [GeneralCategory]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: GeneralCategory -> GeneralCategory -> [GeneralCategory]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: GeneralCategory -> GeneralCategory -> [GeneralCategory]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: GeneralCategory -> GeneralCategory -> GeneralCategory -> [GeneralCategory]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:13" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:13')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> SourceUnpackedness</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: SourceUnpackedness -> SourceUnpackedness</p><p class="src"><a href="#v:pred">pred</a> :: SourceUnpackedness -> SourceUnpackedness</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> SourceUnpackedness <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: SourceUnpackedness -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: SourceUnpackedness -> [SourceUnpackedness]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: SourceUnpackedness -> SourceUnpackedness -> [SourceUnpackedness]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: SourceUnpackedness -> SourceUnpackedness -> [SourceUnpackedness]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: SourceUnpackedness -> SourceUnpackedness -> SourceUnpackedness -> [SourceUnpackedness]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:14" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:14')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> SourceStrictness</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:14" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: SourceStrictness -> SourceStrictness</p><p class="src"><a href="#v:pred">pred</a> :: SourceStrictness -> SourceStrictness</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> SourceStrictness <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: SourceStrictness -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: SourceStrictness -> [SourceStrictness]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: SourceStrictness -> SourceStrictness -> [SourceStrictness]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: SourceStrictness -> SourceStrictness -> [SourceStrictness]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: SourceStrictness -> SourceStrictness -> SourceStrictness -> [SourceStrictness]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:15" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:15')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> DecidedStrictness</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:15" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: DecidedStrictness -> DecidedStrictness</p><p class="src"><a href="#v:pred">pred</a> :: DecidedStrictness -> DecidedStrictness</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> DecidedStrictness <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: DecidedStrictness -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: DecidedStrictness -> [DecidedStrictness]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: DecidedStrictness -> DecidedStrictness -> [DecidedStrictness]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: DecidedStrictness -> DecidedStrictness -> [DecidedStrictness]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: DecidedStrictness -> DecidedStrictness -> DecidedStrictness -> [DecidedStrictness]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:16" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:16')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> Associativity</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:16" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Associativity -> Associativity</p><p class="src"><a href="#v:pred">pred</a> :: Associativity -> Associativity</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Associativity <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Associativity -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Associativity -> [Associativity]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Associativity -> Associativity -> [Associativity]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Associativity -> Associativity -> [Associativity]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Associativity -> Associativity -> Associativity -> [Associativity]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:17" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:17')"></span> <a href="Eta-Classes-Integral.html#t:Integral">Integral</a> a => <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> (Ratio a)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:17" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Ratio a -> Ratio a</p><p class="src"><a href="#v:pred">pred</a> :: Ratio a -> Ratio a</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Ratio a <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Ratio a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Ratio a -> [Ratio a]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Ratio a -> Ratio a -> [Ratio a]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Ratio a -> Ratio a -> [Ratio a]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Ratio a -> Ratio a -> Ratio a -> [Ratio a]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:18" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:18')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> (Proxy k s)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:18" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Proxy k s -> Proxy k s</p><p class="src"><a href="#v:pred">pred</a> :: Proxy k s -> Proxy k s</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Proxy k s <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Proxy k s -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Proxy k s -> [Proxy k s]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Proxy k s -> Proxy k s -> [Proxy k s]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Proxy k s -> Proxy k s -> [Proxy k s]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Proxy k s -> Proxy k s -> Proxy k s -> [Proxy k s]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:19" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:19')"></span> <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> (f a) => <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> (Alt k f a)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:19" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: Alt k f a -> Alt k f a</p><p class="src"><a href="#v:pred">pred</a> :: Alt k f a -> Alt k f a</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> Alt k f a <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: Alt k f a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: Alt k f a -> [Alt k f a]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: Alt k f a -> Alt k f a -> [Alt k f a]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: Alt k f a -> Alt k f a -> [Alt k f a]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: Alt k f a -> Alt k f a -> Alt k f a -> [Alt k f a]</p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Enum:Enum:20" class="instance expander" onclick="toggleSection('i:ic:Enum:Enum:20')"></span> (~) k a b => <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> ((:~:) k a b)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:Enum:Enum:20" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: (k :~: a) b -> (k :~: a) b</p><p class="src"><a href="#v:pred">pred</a> :: (k :~: a) b -> (k :~: a) b</p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="Eta-Types.html#t:Int">Int</a> -> (k :~: a) b <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: (k :~: a) b -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: (k :~: a) b -> [(k :~: a) b]</p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: (k :~: a) b -> (k :~: a) b -> [(k :~: a) b]</p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: (k :~: a) b -> (k :~: a) b -> [(k :~: a) b]</p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: (k :~: a) b -> (k :~: a) b -> (k :~: a) b -> [(k :~: a) b]</p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:toEnum" class="def">toEnum</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => <a href="Eta-Types.html#t:Int">Int</a> -> a <a href="#v:toEnum" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fromEnum" class="def">fromEnum</a> :: <a href="Eta-Classes-Enum.html#t:Enum">Enum</a> a => a -> <a href="Eta-Types.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p></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>