Safe Haskell | Unsafe |
---|---|
Language | Haskell2010 |
- unsafeCheckMutableArray :: PrimMonad m => MutableArray (PrimState m) a -> m Bool
- unsafeCheckSmallMutableArray :: PrimMonad m => SmallMutableArray (PrimState m) a -> m Bool
- unsafeCheckMutableArray# :: MutableArray# s a -> State# s -> (#State# s, Int##)
- unsafeCheckSmallMutableArray# :: SmallMutableArray# s a -> State# s -> (#State# s, Int##)
Documentation
unsafeCheckMutableArray :: PrimMonad m => MutableArray (PrimState m) a -> m Bool Source
This returns True
if the MutableArray
is unfrozen and can still be mutated.
unsafeCheckSmallMutableArray :: PrimMonad m => SmallMutableArray (PrimState m) a -> m Bool Source
This returns True
if the SmallMutableArray
is unfrozen and can still be mutated.
Custom foreign primitives
unsafeCheckMutableArray# :: MutableArray# s a -> State# s -> (#State# s, Int##) Source
unsafeCheckSmallMutableArray# :: SmallMutableArray# s a -> State# s -> (#State# s, Int##) Source