Bit shifting limitations
Herbert Valerio Riedel
hvr at gnu.org
Mon Jul 14 07:18:32 UTC 2014
Hello John,
On 2014-07-13 at 21:29:44 +0200, John Meacham wrote:
[...]
> Another advantage of logical and arithmetic shifts is that there would
> be easier to get rid of the pesky 'Num' superclass as you wouldn't
> need Word/Int trickery and depending on dubious fromIntegaral behavior
> to get the one you want.
Btw, are you aware
http://hackage.haskell.org/package/base-4.7.0.0/docs/Data-Bits.html
doesn't have Num as its superclass anymore? Or are you referring to some
other issue?
Cheers,
hvr
More information about the Libraries
mailing list