[Haskell-cafe] what is wrong w my IORef Word32 ?

Taylor Hedberg t at tmh.cc
Thu Jul 18 19:42:15 CEST 2013


Joerg Fritsch, Thu 2013-07-18 @ 19:22:46+0200:
> Can I easily fix the modifyIORef statement by swapping "something" ?
> --Joerg

Replace `shiftL` with `flip shiftL` and change the type signature of
`sLbitfield` to take an Int instead of an Integer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130718/ab6e3c59/attachment.pgp>


More information about the Haskell-Cafe mailing list