cabal-version: 2.2
name: primitive-offset
version: 0.2.0.0
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/andrewthad/primitive-offset
bug-reports: https://github.com/andrewthad/primitive-offset/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2019 Andrew Martin
category: Data
extra-source-files: CHANGELOG.md

library
  exposed-modules:
    Data.Primitive.PrimArray.Offset
    Data.Primitive.ByteArray.Offset
  build-depends:
    , base >=4.11.1.0 && <5
    , primitive >= 0.6.4
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -O2 -Wall