<div dir="auto">NaN violates this. Of course floats are rife with broken instances to begin with, but in this case it might be important?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 16, 2022, 6:06 PM Zemyla <<a href="mailto:zemyla@gmail.com">zemyla@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto">Are there any laws relating Bounded to Ord and Ix? For instance, any reasonable type should say<div dir="auto"><br></div><div dir="auto">minBound <= x == True for all x</div><div>maxBound >= x == True for all x</div><div dir="auto">inRange (minBound, maxBound) x == True for all x</div><div dir="auto"><br></div></div>
</div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>