Add instance Bounded (Ratio a)
Vanessa McHale
vanessa.mchale at iohk.io
Sun Jun 16 17:14:04 UTC 2019
Seems sensible. Out of curiosity, what would this help with?
On 6/14/19 6:44 PM, Dannyu NDos wrote:
> instance (Integral a, Bounded a) => Bounded (Ratio a) where
> minBound = minBound % 1
> maxBound = maxBound % 1
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190616/1c2691de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190616/1c2691de/attachment.sig>
More information about the Libraries
mailing list