hw-prim-0.0.0.13: Primitive functions and data types

Safe HaskellSafe
LanguageHaskell2010

HaskellWorks.Data.FromForeignRegion

Synopsis

Documentation

class FromForeignRegion a where Source

Class for datastructures that can be created from a foreign region

Methods

fromForeignRegion :: (ForeignPtr Word8, Int, Int) -> a Source

Create a value of type @a from a foreign region.