primitive-foreign: using the `Prim` interface for the FFI

[ bsd3, data, library ] [ Propose Tags ]

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.


[Skip to Readme]
Versions [faq] 0.1, 0.1.1
Change log CHANGELOG.md
Dependencies base (>=4.10.1 && <4.14), primitive (>=0.6.4 && <0.8) [details]
License BSD-3-Clause
Copyright © 2019 chessai
Author chessai
Maintainer chessai <chessai1996@gmail.com>
Category Data
Home page https://github.com/haskell-primitive/primitive-ffi
Bug tracker https://github.com/haskell-primitive/primitive-ffi/issues
Source repo head: git clone https://github.com/haskell-primitive/primitive-foreign.git
Uploaded by chessai at 2019-11-15T00:59:29Z
Distributions NixOS:0.1.1
Downloads 563 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-11-15 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for primitive-foreign-0.1.1

[back to package description]

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.