Use unsafe shifts from base rather than hand-rolling
See https://hackage.haskell.org/package/base-4.5.0.0/docs/Data-Bits.html#v:unsafeShiftL. in binary's minimum supportedbase version. Beyond reducing duplicated code, this will avoid CPP in dealing with the changing primop situation for GHC 9.2.
Loading
Please register or sign in to comment