foreign-storable-asymmetric-0.0.1: Types and instances for implementing a Storable with different peek and poke

Safe HaskellSafe-Infered

Foreign.Storable.Asymmetric

Synopsis

Documentation

data NoData Source

Used as a placeholder for no data.

Constructors

NoData 

Instances

data DifferentPeekPoke a b Source

A data structure where peek reads one structure, and poke writes another.

Constructors

PeekOut b 
PokeIn a 

Instances

getPeek :: DifferentPeekPoke t t1 -> t1Source

Retrieves the peek structure from a DifferentPeekPoke.