Changelog for vector-0.12.2.0
Changes in version 0.12.2.0
- Add
MINIMAL
pragma toVector
&MVector
type classes: #11 - Export
unstreamM
fromfrom Data.Vector.Generic
: #70 - New functions:
unfoldrExactN
andunfoldrExactNM
: #140 - Added
iforM
andiforM_
: #262 - Added
MonadFix
instance for boxed vectors: #178 - Added
uncons
andunsnoc
: #212 - Added
foldMap
andfoldMap'
: #263 - Added
isSameVector
for storable vectors - Added
toArray
,fromArray
,toMutableArray
andfromMutableArray
- Added
iscanl
,iscanl'
,iscanr
,iscanr'
toPrimitive
,Storable
andUnboxed
- Added
izipWithM
,izipWithM_
,imapM
andimapM_
toPrimitive
andStorable
- Added
ifoldM
,ifoldM'
,ifoldM_
andifoldM'_
toPrimitive
andStorable
- Added
eqBy
andcmpBy
- Added
findIndexR
toGeneric
: #172 - Added
catMaybes
: #329 - Added
mapMaybeM
andimapMaybeM
: #183
Changes in version 0.12.1.2
- Fix for lost function
Data.Vector.Generic.mkType
: #287
Changes in version 0.12.1.1 (deprecated)
- add semigrioups dep to test suite so CI actually runs again on GHC < 8
Changes in version 0.12.1.0 (deprecated)
- Fix integer overflows in specializations of Bundle/Stream enumFromTo on Integral types
- Fix possibility of OutOfMemory with
take
and very large arguments. - Fix
slice
function causing segfault and not checking the bounds properly. - updated specialization rule for EnumFromTo on Float and Double to make sure it always matches the version in GHC Base (which changed as of 8.6) Thanks to Aleksey Khudyakov @Shimuuar for this fix.
- fast rejection short circuiting in eqBy operations
- the O2 test suite now has reasonable memory usage on every GHC version, special thanks to Alexey Kuleshevich (@lehins).
- The
Mutable
type family is now injective on GHC 8.0 or later. - Using empty
Storable
vectors no longer results in division-by-zero errors. - The
Data
instances forVector
types now have well defined implementations fortoConstr
,gunfold
, anddataTypeOf
. - New function:
partitionWith
. - Add
Unbox
instances forIdentity
,Const
,Down
,Dual
,Sum
,Product
,Min
,Max
,First
,Last
,WrappedMonoid
,Arg
,Any
,All
,Alt
, andCompose
. - Add
NFData1
instances for applicableVector
types.
Changes in version 0.12.0.3
- Monad Fail support
Changes in version 0.12.0.2
- Fixes issue #220, compact heap operations crashing on boxed vectors constructed using traverse.
- backport injective type family support
- Cleanup the memset code internal to storable vector modules to be compatible with future Primitive releases
Changes in version 0.12.0.1
- Make sure
length
can be inlined - Include modules that test-suites depend on in other-modules
Changes in version 0.12.0.0
- Documentation fixes/additions
- New functions: createT, iscanl/r, iterateNM, unfoldrM, uniq
- New instances for various vector types: Semigroup, MonadZip
- Made
Storable
vectors respect memory alignment - Changed some macros to ConstraintKinds
- Dropped compatibility with old GHCs to support this
- Add
Eq1
,Ord1
,Show1
, andRead1
Vector
instances, and related helper functions. - Relax context for
Unbox (Complex a)
.
Changes in version 0.11.0.0
- Define
Applicative
instances forData.Vector.Fusion.Util.{Box,Id}
- Define non-bottom
fail
forinstance Monad Vector
- New generalized stream fusion framework
- Various safety fixes
- Various overflows due to vector size have been eliminated
- Memory is initialized on creation of unboxed vectors
- Changes to SPEC usage to allow building under more conditions
Changes in version 0.10.12.3
- Allow building with
primtive-0.6
Changes in version 0.10.12.2
- Add support for
deepseq-1.4.0.0
Changes in version 0.10.12.1
- Fixed compilation on non-head GHCs
Changes in version 0.10.12.0
-
Export MVector constructor from Data.Vector.Primitive to match Vector's (which was already exported).
-
Fix building on GHC 7.9 by adding Applicative instances for Id and Box
Changes in version 0.10.11.0
- Support OverloadedLists for boxed Vector in GHC >= 7.8
Changes in version 0.10.10.0
- Minor version bump to rectify PVP violation occured in 0.10.9.3 release
Changes in version 0.10.9.3 (deprecated)
- Add support for OverloadedLists in GHC >= 7.8
Changes in version 0.10.9.2
- Fix compilation with GHC 7.9
Changes in version 0.10.9.1
- Implement poly-kinded Typeable
Changes in version 0.10.0.1
- Require
primitive
to include workaround for a GHC array copying bug
Changes in version 0.10
NFData
instances- More efficient block fills
- Safe Haskell support removed