cabal-version: >= 1.10
name:          array
version:       0.5.4.0

-- NOTE: Don't forget to update ./changelog.md
license:       BSD3
license-file:  LICENSE
maintainer:    libraries@haskell.org
bug-reports:   https://gitlab.haskell.org/ghc/packages/array/issues
synopsis:      Mutable and immutable arrays
category:      Data Structures
build-type:    Simple
description:
    In addition to providing the "Data.Array" module
    <http://www.haskell.org/onlinereport/haskell2010/haskellch14.html as specified in the Haskell 2010 Language Report>,
    this package also defines the classes 'IArray' of
    immutable arrays and 'MArray' of arrays mutable within appropriate
    monads, as well as some instances of these classes.

extra-source-files: changelog.md

source-repository head
  type:     git
  location: http://gitlab.haskell.org/ghc/packages/array.git

library
  default-language: Haskell2010
  other-extensions:
      BangPatterns,
      CPP,
      FlexibleContexts,
      FlexibleInstances,
      MagicHash,
      MultiParamTypeClasses,
      RankNTypes,
      Trustworthy,
      UnboxedTuples,
      UnliftedFFITypes
  build-depends: base >= 4.9 && < 4.14
  ghc-options: -Wall
  exposed-modules:
      Data.Array
      Data.Array.Base
      Data.Array.IArray
      Data.Array.IO
      Data.Array.IO.Safe
      Data.Array.IO.Internals
      Data.Array.MArray
      Data.Array.MArray.Safe
      Data.Array.ST
      Data.Array.ST.Safe
      Data.Array.Storable
      Data.Array.Storable.Safe
      Data.Array.Storable.Internals
      Data.Array.Unboxed
      Data.Array.Unsafe
