Changelog for array
package
- Folds for arrays:
foldrArray
,foldlArray'
,foldlArray
,foldrArray'
,traverseArray_
,forArray_
,foldlArrayM'
,foldrArrayM'
. - Folds for mutable arrays:
foldlMArray'
,foldrMArray'
,mapMArrayM_
,forMArrayM_
,foldlMArrayM'
,foldrMArrayM'
.
- Fix a build error that the package can't be buildable before
base-4.14
.
MArray
now has aMINIMAL
pragma- Optimisation of
newListArray
andnewGenArray
listArray
andnewListArray
are now good consumers of the input list- Bump base bound to
<4.20
- Add the
genArray
andnewGenArray
function - Add
Data.Array.MArray.modifyArray
andData.Array.MArray.modifyArray'
These are also exposed fromData.Array.IO
,Data.Array.ST
, andData.Array.Storable
. - Add
Data.Array.IArray.(!?)
- Array docs regarding constructing arrays
- Update note [Inlining and fusion]
- Unboxed Bool arrays no longer cause spurious alarms
when used with
-fcheck-prim-bounds
- Replace Haddock hide pragma with not-home to make the Haddocks more readable
- Compatibility with GHC's new JavaScript backend.
- Add a
Read
instance forUArray
- Bundled with GHC 8.6.2
- Drop support for GHC versions prior to GHC 8.0
- Bundled with GHC 8.2.1
- Overflow check in
unsafeNewArray
(#229) - Fix and simplify handling of
Bool
arrays - Export
unsafeFreezeIOUArray
fromData.Array.IO.Internals
- Drop support for GHC versions prior to GHC 7.8
- Bundled with GHC 8.0.1
- Use
@since
syntax in Haddock comments - Don't needlessly call
bounds
inData.Array.Base.elems
(#10014)
- Bundled with GHC 7.10.1
- Add role annotations for GHC >= 7.8 (#9220)
- 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
, andData.Array.ST.castSTUArray
; These functions are still available from theData.Array.Unsafe
module.
- Bundled with GHC 7.6.1
- Fix inline rule shadowing warnings
- 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