Safe Haskell | Safe-Infered |
---|
Compatibility helper module.
This module holds definitions that help with supporting multiple library versions or transitions between versions.
- rwhnf :: Strategy a
- finiteBitSize :: Bits a => a -> Int
- atomicModifyIORef' :: IORef a -> (a -> (a, b)) -> IO b
Documentation
Wrapper over the function exported from Control.Parallel.Strategies.
This wraps either the old or the new name of the function, depending on the detected library version.
finiteBitSize :: Bits a => a -> IntSource
atomicModifyIORef' :: IORef a -> (a -> (a, b)) -> IO bSource