var-0.2.0.0: Mutable variables and tuples

Maintainerandy22286@gmail.com
Safe HaskellUnsafe

Data.ByteArraySlice.Unsafe

Description

 

Documentation

class Monad m => MonadPrim m whereSource

Associated Types

type World m Source

Methods

prim :: (State# (World m) -> (#State# (World m), a#)) -> m aSource

Instances

data Prim s a Source

Instances

runPrim :: MonadPrim m => Prim (World m) a -> m aSource

plusByteSizeDefault :: (Generic a, GByteArraySlice (Rep a)) => Int -> t a -> IntSource

readByteOffDefault :: (Generic a, GByteArraySlice (Rep a)) => MutableByteArray s -> Int -> Prim s aSource

writeByteOffDefault :: (Generic a, GByteArraySlice (Rep a)) => MutableByteArray s -> Int -> a -> Prim s ()Source