packages feed

primitive-offset-0.2.0.1: primitive-offset.cabal

cabal-version:   3.0
name:            primitive-offset
version:         0.2.0.1
synopsis:        Types for offsets into unboxed arrays
description:
  Pair a typed or untyped primitive array with an offset.
  This is useful for providing meaningful type signatures
  when working with the foreign function interface.

homepage:        https://github.com/byteverse/primitive-offset
bug-reports:     https://github.com/byteverse/primitive-offset/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      amartin@layer3com.com
copyright:       2019 Andrew Martin
category:        Data
extra-doc-files: CHANGELOG.md
tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
  default-language: Haskell2010
  ghc-options:      -Wall -Wunused-packages
  build-depends:    base >=4.11.1.0 && <5

library
  import:          build-settings
  hs-source-dirs:  src
  ghc-options:     -O2
  exposed-modules:
    Data.Primitive.ByteArray.Offset
    Data.Primitive.PrimArray.Offset

  build-depends:   primitive >=0.6.4

source-repository head
  type:     git
  location: git://github.com/byteverse/primitive-offset.git