array

Mutable and immutable arrays

Version on this page:0.5.1.1
LTS Haskell 22.13:0.5.6.0
Stackage Nightly 2024-03-14:0.5.6.0
Latest on Hackage:0.5.6.0

See all snapshots array appears in

BSD-3-Clause licensed
Maintained by [email protected]
This version can be pinned in stack with:array-0.5.1.1@sha256:5fe3b1be786a6821fe430eeb6557cc23c12ddf651a562cb63f38a7395d15f93b,1717

In addition to providing the Data.Array module 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.

Changes

Changelog for array package

0.5.1.1 Apr 2016

  • Bundled with GHC 8.0.1
  • Use @since syntax in Haddock comments
  • Don’t needlessly call bounds in Data.Array.Base.elems (#10014)

0.5.1.0 Mar 2015

  • Bundled with GHC 7.10.1
  • Add role annotations for GHC >= 7.8 (#9220)

0.5.0.0 Nov 2013

  • Update to Cabal 1.10 format
  • Remove NHC and Hugs specific code
  • Remove deprecated function exports Data.Array.IO.castIOUArray, Data.Array.MArray.unsafeFreeze, Data.Array.MArray.unsafeThaw, and Data.Array.ST.castSTUArray; These functions are still available from the Data.Array.Unsafe module.

0.4.0.1 Sep 2012

  • Bundled with GHC 7.6.1
  • Fix inline rule shadowing warnings

0.4.0.0 Feb 2012

  • Bundled with GHC 7.4.1
  • Add support for SafeHaskell
  • New Data.Array.IO.Safe module
  • New Data.Array.MArray.safe module
  • New Data.Array.ST.safe module
  • New Data.Array.Storable.Internals module
  • New Data.Array.Storable.Safe module
  • New Data.Array.Unsafe module