primitive-foreign

This library provides an alternative to the Storable interface, using the Prim typeclass. The goal is to make it possible to avoid the duplicated code between Storable and Prim APIs when one is working mostly with the primitive or contiguous APIs.


Keywords
data, library, Propose Tags , Data.Primitive.Foreign
License
BSD-3-Clause
Install
cabal install primitive-foreign

Documentation

primitive-foreign

Hackage BSD3 license Build Status

The goal of this library is to make it possible to avoid the duplicated code between Storable and Prim APIs when one is working mostly with the primitive or contiguous APIs, by using the Prim interface to facilitate marshalling of values in memory.