poke package:ghc-internal

Write the given value to the given memory location. Alignment restrictions might apply; see peek.
Write the list elements consecutive into memory
Write the list elements consecutive into memory and terminate them with the given marker element
Write a value to a memory location given by a base address and offset. The following equality holds:
pokeByteOff addr off x = poke (addr `plusPtr` off) x
Write a value to a memory area regarded as an array of values of the same kind. The following equality holds:
pokeElemOff addr idx x =
poke (addr `plusPtr` (idx * sizeOf x)) x