<div dir="ltr">The bitSize typeclass method has been deprecated since 4.7. However, library author still have to implement it to avoid a warning. I propose that a default implementation using bitSizeMaybe be added. It would look like this:<div><br></div><div> bitSize x = case bitSizeMaybe x of</div><div> Nothing -> error "bitSize is deprecated and the type in question does not have a finite bit size"</div><div> Just a -> a<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Andrew Thaddeus Martin</div>
</div></div>