Foreign.Storable.Tuple

storable-tuple-0.1: Storable instance for pairs and triples

Safe Haskell | Safe-Inferred
Language | Haskell98

Foreign.Storable.Tuple

Contents

- Orphan instances

# Orphan instances

(Storable a, Storable b) => Storable (a, b) # |
Instance details Methods sizeOf :: (a, b) -> Int # alignment :: (a, b) -> Int # peekElemOff :: Ptr (a, b) -> Int -> IO (a, b) # pokeElemOff :: Ptr (a, b) -> Int -> (a, b) -> IO () # peekByteOff :: Ptr b0 -> Int -> IO (a, b) # pokeByteOff :: Ptr b0 -> Int -> (a, b) -> IO () # peek :: Ptr (a, b) -> IO (a, b) # poke :: Ptr (a, b) -> (a, b) -> IO () #
(Storable a, Storable b, Storable c) => Storable (a, b, c) # |
Instance details Methods sizeOf :: (a, b, c) -> Int # alignment :: (a, b, c) -> Int # peekElemOff :: Ptr (a, b, c) -> Int -> IO (a, b, c) # pokeElemOff :: Ptr (a, b, c) -> Int -> (a, b, c) -> IO () # peekByteOff :: Ptr b0 -> Int -> IO (a, b, c) # pokeByteOff :: Ptr b0 -> Int -> (a, b, c) -> IO () # peek :: Ptr (a, b, c) -> IO (a, b, c) # poke :: Ptr (a, b, c) -> (a, b, c) -> IO () #
(Storable a, Storable b, Storable c, Storable d) => Storable (a, b, c, d) # |
Instance details Methods sizeOf :: (a, b, c, d) -> Int # alignment :: (a, b, c, d) -> Int # peekElemOff :: Ptr (a, b, c, d) -> Int -> IO (a, b, c, d) # pokeElemOff :: Ptr (a, b, c, d) -> Int -> (a, b, c, d) -> IO () # peekByteOff :: Ptr b0 -> Int -> IO (a, b, c, d) # pokeByteOff :: Ptr b0 -> Int -> (a, b, c, d) -> IO () # peek :: Ptr (a, b, c, d) -> IO (a, b, c, d) # poke :: Ptr (a, b, c, d) -> (a, b, c, d) -> IO () #