<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ratio only only generally be used with Integer, which isn’t itself an instance of Bounded. This probably wouldn’t be a very useful instance. It has overflow issues with Bounded types like Int for various operations including comparisons.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 16, 2019, at 10:14 AM, Vanessa McHale <<a href="mailto:vanessa.mchale@iohk.io" class="">vanessa.mchale@iohk.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="protected-part"><div class="protected-title">Signed PGP part</div><div class="protected-content">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Seems sensible. Out of curiosity, what would this help with?<br class="">
    </p>
    <div class="moz-cite-prefix">On 6/14/19 6:44 PM, Dannyu NDos wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:CAKM3oZUQ3Lrb7JqfezGHon=U51wPoK_gFjhf2e5+nyRBGn9yvQ@mail.gmail.com" class="">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
      <div dir="ltr" class="">
        <div class="">instance (Integral a, Bounded a) => Bounded (Ratio a)
          where</div>
        <div class="">    minBound = minBound % 1</div>
        <div class="">    maxBound = maxBound % 1<br class="">
        </div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Libraries mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a>
</pre>
    </blockquote>
  </div>

</div></div><br class=""><iframe class="untrusted-content-test" scrolling="auto" width="200" height="20" style="border:none;display:block;overflow:auto;" data-src="data:text/html;charset=UTF-8;base64,PGlmcmFtZS1jb250ZW50Pl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fPEJSPkxpYnJhcmllcyBtYWlsaW5nIGxpc3Q8QlI+TGlicmFyaWVzQGhhc2tlbGwub3JnPEJSPmh0dHA6Ly9tYWlsLmhhc2tlbGwub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJyYXJpZXM8QlI+PC9pZnJhbWUtY29udGVudD4=" sandbox="allow-scripts"></iframe></div></blockquote></div><br class=""></body></html>