<div class="im" style="font-family:arial,sans-serif;font-size:13px">Emanuel: I was trying to build infinite list from -inf to +inf.<br><br></div><span style="font-family:arial,sans-serif;font-size:13px">Bob: What would you expect the number after -inf to be?</span><br>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Wait a minute, let&#39;s just talk about the head of the list. What type is the list element? Int? Integer? If Int, there&#39;s minBound :: Bounded Int =&gt; Int. If Integer, no such instance exists!</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">So perhaps you want [minBound .. maxBound] :: [Int]?</span></div><div class="gmail_extra">

<br clear="all"><div>-- Kim-Ee</div><br>
<br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 10:16 PM, Tom Davie <span dir="ltr">&lt;<a href="mailto:tom.davie@gmail.com" target="_blank">tom.davie@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
On 18 Dec 2012, at 14:35, Emanuel Koczwara &lt;<a href="mailto:poczta@emanuelkoczwara.pl">poczta@emanuelkoczwara.pl</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; Dnia 2012-12-18, wto o godzinie 20:30 +0600, Alexander _ pisze:<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Here you try to reverse infinite list. What do you expect to get?<br>
&gt;&gt;<br>
&gt;<br>
&gt;  I was trying to build infinite list from -inf to +inf.<br>
<br>
</div>What would you expect the number after -inf to be?<br>
<br>
Bob<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>