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

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1
Change log CHANGELOG.md
Dependencies base (>=4.10.1 && <4.14), primitive (>=0.6.4 && <0.8) [details]
Tested with ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5
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
Downloads 834 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-11-15 [all 1 reports]

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.