darcs-mirrors/vector.git
7 years agoResolve conflict
Roman Leshchinskiy [Sun, 29 Jan 2012 11:32:49 +0000 (11:32 +0000)] 
Resolve conflict

7 years agoAdded NFData instances for all vectors
Bas van Dijk [Sat, 7 Jan 2012 16:09:49 +0000 (16:09 +0000)] 
Added NFData instances for all vectors

7 years agoImprove length and null
Roman Leshchinskiy [Sun, 29 Jan 2012 11:03:08 +0000 (11:03 +0000)] 
Improve length and null

7 years agoUse new Stream in length and null
Roman Leshchinskiy [Sun, 29 Jan 2012 10:53:46 +0000 (10:53 +0000)] 
Use new Stream in length and null

7 years agoAdd Maybe (v a) to Stream representations
Roman Leshchinskiy [Sun, 29 Jan 2012 10:50:27 +0000 (10:50 +0000)] 
Add Maybe (v a) to Stream representations

7 years agoWhitespace
Roman Leshchinskiy [Sun, 29 Jan 2012 00:57:50 +0000 (00:57 +0000)] 
Whitespace

7 years agoFaster concatMap
Roman Leshchinskiy [Sun, 29 Jan 2012 00:57:02 +0000 (00:57 +0000)] 
Faster concatMap

7 years agoRelax package upper bounds
Roman Leshchinskiy [Sun, 29 Jan 2012 00:28:10 +0000 (00:28 +0000)] 
Relax package upper bounds

7 years agoDelete dead code
Roman Leshchinskiy [Sat, 28 Jan 2012 09:44:05 +0000 (09:44 +0000)] 
Delete dead code

7 years agoSwitch to record syntax for streams
Roman Leshchinskiy [Sat, 28 Jan 2012 09:28:14 +0000 (09:28 +0000)] 
Switch to record syntax for streams

7 years agoImprove basicSet for primitive vectors
Roman Leshchinskiy [Fri, 27 Jan 2012 23:44:26 +0000 (23:44 +0000)] 
Improve basicSet for primitive vectors

7 years agoImprove basicSet for Storable vectors
Roman Leshchinskiy [Fri, 27 Jan 2012 23:38:42 +0000 (23:38 +0000)] 
Improve basicSet for Storable vectors

7 years agoRequire dev version of primitive
Roman Leshchinskiy [Fri, 27 Jan 2012 23:38:30 +0000 (23:38 +0000)] 
Require dev version of primitive

7 years agoFix docs
Roman Leshchinskiy [Wed, 25 Jan 2012 23:30:10 +0000 (23:30 +0000)] 
Fix docs

7 years agoHave streams carry chunk initialisers rather than vectors
Roman Leshchinskiy [Tue, 24 Jan 2012 18:19:31 +0000 (18:19 +0000)] 
Have streams carry chunk initialisers rather than vectors

7 years agoReimplement concat
Roman Leshchinskiy [Sun, 8 Jan 2012 10:59:16 +0000 (10:59 +0000)] 
Reimplement concat

7 years agoAllow streams to produce entire vectors as well as individual elements
Roman Leshchinskiy [Sat, 7 Jan 2012 11:06:00 +0000 (11:06 +0000)] 
Allow streams to produce entire vectors as well as individual elements

This is a signficant extension to the stream fusion mechanism. A Stream is now
parametrised with a vector type and offers two iteration modes: individual
elements and individual elements + vectors. This supports significantly more
efficient implementations of block operations. For instance, (++) will now use
memcpy where possible rather than iterating through the elements in a loop.

Comments are sorely lacking at the moment.

7 years agoChange version number again
Roman Leshchinskiy [Sat, 7 Jan 2012 10:40:52 +0000 (10:40 +0000)] 
Change version number again

7 years agoUse SPEC in stream comparisons
Roman Leshchinskiy [Sat, 7 Jan 2012 10:30:44 +0000 (10:30 +0000)] 
Use SPEC in stream comparisons

7 years agoExport SPEC
Roman Leshchinskiy [Sat, 7 Jan 2012 10:30:31 +0000 (10:30 +0000)] 
Export SPEC

7 years agoBump version
Roman Leshchinskiy [Sat, 7 Jan 2012 10:26:13 +0000 (10:26 +0000)] 
Bump version

7 years agoStrictness fix
Roman Leshchinskiy [Sat, 7 Jan 2012 10:25:18 +0000 (10:25 +0000)] 
Strictness fix

7 years agoDocumentation
Roman Leshchinskiy [Sat, 31 Dec 2011 13:43:23 +0000 (13:43 +0000)] 
Documentation

7 years agoBump version
Roman Leshchinskiy [Sat, 31 Dec 2011 13:43:14 +0000 (13:43 +0000)] 
Bump version

7 years agoFix changelog 0_9_1
Roman Leshchinskiy [Sat, 31 Dec 2011 00:29:55 +0000 (00:29 +0000)] 
Fix changelog

7 years agoFix version
Roman Leshchinskiy [Sat, 31 Dec 2011 00:21:55 +0000 (00:21 +0000)] 
Fix version

7 years agoChangelog
Roman Leshchinskiy [Sat, 31 Dec 2011 00:09:13 +0000 (00:09 +0000)] 
Changelog

7 years agoImprove unfoldings
Roman Leshchinskiy [Thu, 29 Dec 2011 15:54:09 +0000 (15:54 +0000)] 
Improve unfoldings

7 years agoSimplify error handling code
Roman Leshchinskiy [Thu, 29 Dec 2011 12:13:16 +0000 (12:13 +0000)] 
Simplify error handling code

7 years agoRemove dead code
Roman Leshchinskiy [Thu, 29 Dec 2011 11:16:17 +0000 (11:16 +0000)] 
Remove dead code

7 years agoManually worker/wrapper error functions (fixes #66)
Roman Leshchinskiy [Sun, 27 Nov 2011 15:42:30 +0000 (15:42 +0000)] 
Manually worker/wrapper error functions (fixes #66)

7 years agoAdded RULES that translates "unsafeFromForeignPtr fp 0 n" to "unsafeFromForeignPtr0...
Bas van Dijk [Fri, 30 Sep 2011 13:47:31 +0000 (13:47 +0000)] 
Added RULES that translates "unsafeFromForeignPtr fp 0 n" to "unsafeFromForeignPtr0 fp n"

7 years agoAdd unsafeFromForeignPtr0 and unsafeToForeignPtr0 to Data.Vector.Storable.Mutable
Bas van Dijk [Fri, 30 Sep 2011 08:21:25 +0000 (08:21 +0000)] 
Add unsafeFromForeignPtr0 and unsafeToForeignPtr0 to Data.Vector.Storable.Mutable

7 years agoAdd unsafeFromForeignPtr0 and unsafeToForeignPtr0 to Data.Vector.Storable
Bas van Dijk [Fri, 30 Sep 2011 08:11:00 +0000 (08:11 +0000)] 
Add unsafeFromForeignPtr0 and unsafeToForeignPtr0 to Data.Vector.Storable

7 years agoBump version
Roman Leshchinskiy [Thu, 13 Oct 2011 20:44:47 +0000 (20:44 +0000)] 
Bump version

7 years agoChangelog
Roman Leshchinskiy [Tue, 30 Aug 2011 19:32:01 +0000 (19:32 +0000)] 
Changelog

7 years agoRequire primitive-0.4.0.1
Roman Leshchinskiy [Tue, 30 Aug 2011 19:31:47 +0000 (19:31 +0000)] 
Require primitive-0.4.0.1

7 years agoBump version number
Roman Leshchinskiy [Tue, 30 Aug 2011 19:31:36 +0000 (19:31 +0000)] 
Bump version number

7 years agoAdd construct and constructN to Safe modules
Roman Leshchinskiy [Tue, 30 Aug 2011 19:25:09 +0000 (19:25 +0000)] 
Add construct and constructN to Safe modules

7 years agoAdd MonadPlus instance
Roman Leshchinskiy [Tue, 30 Aug 2011 19:23:47 +0000 (19:23 +0000)] 
Add MonadPlus instance

7 years agoAdd tests 0_8
Roman Leshchinskiy [Mon, 29 Aug 2011 00:12:08 +0000 (00:12 +0000)] 
Add tests

7 years agoFollow changes in primitive
Roman Leshchinskiy [Sun, 28 Aug 2011 10:45:27 +0000 (10:45 +0000)] 
Follow changes in primitive

7 years agoExport mstream and mstreamR
Roman Leshchinskiy [Sun, 28 Aug 2011 10:21:07 +0000 (10:21 +0000)] 
Export mstream and mstreamR

7 years agoFix leftover conflicts
Roman Leshchinskiy [Sat, 27 Aug 2011 23:21:46 +0000 (23:21 +0000)] 
Fix leftover conflicts

7 years agoResolve conflict with stray patch
Roman Leshchinskiy [Sat, 27 Aug 2011 23:18:17 +0000 (23:18 +0000)] 
Resolve conflict with stray patch

7 years agoImprove package description
Roman Leshchinskiy [Fri, 26 Aug 2011 23:22:44 +0000 (23:22 +0000)] 
Improve package description

7 years agoImprove comments
Roman Leshchinskiy [Fri, 26 Aug 2011 23:22:09 +0000 (23:22 +0000)] 
Improve comments

7 years agoMention Safe modules in the package description
Roman Leshchinskiy [Fri, 26 Aug 2011 23:12:10 +0000 (23:12 +0000)] 
Mention Safe modules in the package description

7 years agoChange comments in Safe modules
Roman Leshchinskiy [Fri, 26 Aug 2011 23:07:56 +0000 (23:07 +0000)] 
Change comments in Safe modules

7 years agoBump version to 0.8
Roman Leshchinskiy [Fri, 26 Aug 2011 22:32:36 +0000 (22:32 +0000)] 
Bump version to 0.8

7 years agoUse mkTyCon3 if available
Roman Leshchinskiy [Fri, 26 Aug 2011 22:28:02 +0000 (22:28 +0000)] 
Use mkTyCon3 if available

7 years agoChangelog
Roman Leshchinskiy [Fri, 26 Aug 2011 22:09:30 +0000 (22:09 +0000)] 
Changelog

7 years agoFollow containers convention in Show instances and add Read instances
Roman Leshchinskiy [Fri, 26 Aug 2011 22:04:27 +0000 (22:04 +0000)] 
Follow containers convention in Show instances and add Read instances

7 years agoChangelog
Roman Leshchinskiy [Thu, 25 Aug 2011 22:11:28 +0000 (22:11 +0000)] 
Changelog

7 years agoBuild tests with -O0 and -O2
Roman Leshchinskiy [Thu, 25 Aug 2011 21:55:22 +0000 (21:55 +0000)] 
Build tests with -O0 and -O2

7 years agoAdd tests
Roman Leshchinskiy [Thu, 25 Aug 2011 21:49:48 +0000 (21:49 +0000)] 
Add tests

7 years agoReorganise tests
Roman Leshchinskiy [Thu, 25 Aug 2011 21:31:03 +0000 (21:31 +0000)] 
Reorganise tests

7 years agoChangelog
Roman Leshchinskiy [Thu, 25 Aug 2011 21:23:24 +0000 (21:23 +0000)] 
Changelog

7 years agoSlightly faster version of concatMap
Roman Leshchinskiy [Tue, 23 Aug 2011 22:47:59 +0000 (22:47 +0000)] 
Slightly faster version of concatMap

7 years agoAdd a seq
Roman Leshchinskiy [Tue, 23 Aug 2011 22:47:50 +0000 (22:47 +0000)] 
Add a seq

7 years agoAdd tests for constructN and constructrN
Roman Leshchinskiy [Fri, 19 Aug 2011 23:43:35 +0000 (23:43 +0000)] 
Add tests for constructN and constructrN

7 years agoAdd constructN and constructrN
Roman Leshchinskiy [Fri, 19 Aug 2011 23:40:52 +0000 (23:40 +0000)] 
Add constructN and constructrN

7 years agoSignificantly improve basicSet (based on a patch by Louis Wasserman)
Roman Leshchinskiy [Fri, 19 Aug 2011 22:36:44 +0000 (22:36 +0000)] 
Significantly improve basicSet (based on a patch by Louis Wasserman)

7 years agoMake thaw and unsafeThaw fusible
Roman Leshchinskiy [Fri, 19 Aug 2011 21:54:40 +0000 (21:54 +0000)] 
Make thaw and unsafeThaw fusible

7 years agoAdd New.runPrim
Roman Leshchinskiy [Fri, 19 Aug 2011 21:54:20 +0000 (21:54 +0000)] 
Add New.runPrim

7 years agoFix Safe Haskell modules on 7.2.1
Roman Leshchinskiy [Fri, 19 Aug 2011 21:18:46 +0000 (21:18 +0000)] 
Fix Safe Haskell modules on 7.2.1

7 years agoFuse reverse
Roman Leshchinskiy [Thu, 18 Aug 2011 22:31:55 +0000 (22:31 +0000)] 
Fuse reverse

7 years agoFix fixity of (!!) and (!)
Roman Leshchinskiy [Thu, 18 Aug 2011 22:21:59 +0000 (22:21 +0000)] 
Fix fixity of (!!) and (!)

7 years agoAdd (!?) for streams and make vector (!?) fusible
Roman Leshchinskiy [Thu, 18 Aug 2011 22:21:15 +0000 (22:21 +0000)] 
Add (!?) for streams and make vector (!?) fusible

7 years agoUse the Addr# field in ForeignPtr for Storable vectors
Roman Leshchinskiy [Thu, 18 Aug 2011 22:12:06 +0000 (22:12 +0000)] 
Use the Addr# field in ForeignPtr for Storable vectors

7 years agoFix vector-tests.cabal
Roman Leshchinskiy [Thu, 18 Aug 2011 22:08:27 +0000 (22:08 +0000)] 
Fix vector-tests.cabal

7 years agoRemove deprecated functions
Roman Leshchinskiy [Wed, 17 Aug 2011 22:47:52 +0000 (22:47 +0000)] 
Remove deprecated functions

7 years agoChangelog
Roman Leshchinskiy [Wed, 17 Aug 2011 22:37:40 +0000 (22:37 +0000)] 
Changelog

7 years agoUse new array copying primitives
Roman Leshchinskiy [Wed, 17 Aug 2011 22:28:20 +0000 (22:28 +0000)] 
Use new array copying primitives

7 years agoRequire primitive 0.4 and replace deprecated primitives
Roman Leshchinskiy [Wed, 17 Aug 2011 22:23:19 +0000 (22:23 +0000)] 
Require primitive 0.4 and replace deprecated primitives

7 years agoChangelog
Roman Leshchinskiy [Fri, 12 Aug 2011 10:57:54 +0000 (10:57 +0000)] 
Changelog

7 years agoRelax dependencies
Roman Leshchinskiy [Fri, 12 Aug 2011 10:56:41 +0000 (10:56 +0000)] 
Relax dependencies

7 years agoExpose Safe Haskell modules
Roman Leshchinskiy [Fri, 12 Aug 2011 10:55:55 +0000 (10:55 +0000)] 
Expose Safe Haskell modules

7 years agoUse Safe Haskell if GHC >= 7.2
David Terei [Fri, 12 Aug 2011 00:05:40 +0000 (00:05 +0000)] 
Use Safe Haskell if GHC >= 7.2

8 years agoAdd instances for Monad, Applicative, Alternative, Foldable, Traversable
Roman Leshchinskiy [Sat, 25 Jun 2011 09:33:40 +0000 (09:33 +0000)] 
Add instances for Monad, Applicative, Alternative, Foldable, Traversable

8 years agoAdd Functor instance for boxed vectors
Roman Leshchinskiy [Thu, 23 Jun 2011 20:06:03 +0000 (20:06 +0000)] 
Add Functor instance for boxed vectors

8 years agoBump version number
Roman Leshchinskiy [Thu, 23 Jun 2011 20:04:16 +0000 (20:04 +0000)] 
Bump version number

8 years agoTAG 0.7.1
Roman Leshchinskiy [Sat, 18 Jun 2011 22:56:09 +0000 (22:56 +0000)] 
TAG 0.7.1

8 years agoFiddle with changelog
Roman Leshchinskiy [Sat, 18 Jun 2011 22:33:37 +0000 (22:33 +0000)] 
Fiddle with changelog

8 years agoFix typo
Roman Leshchinskiy [Sat, 18 Jun 2011 22:28:22 +0000 (22:28 +0000)] 
Fix typo

8 years agoChangelog
Roman Leshchinskiy [Fri, 17 Jun 2011 23:13:50 +0000 (23:13 +0000)] 
Changelog

8 years agoAdd unsafeCast for Storable vectors (based on a patch by Bas van Dijk)
Roman Leshchinskiy [Fri, 17 Jun 2011 23:11:45 +0000 (23:11 +0000)] 
Add unsafeCast for Storable vectors (based on a patch by Bas van Dijk)

8 years agoChangelog
Roman Leshchinskiy [Tue, 31 May 2011 23:10:12 +0000 (23:10 +0000)] 
Changelog

8 years agoRename iterate -> iterateN
Roman Leshchinskiy [Tue, 31 May 2011 21:02:06 +0000 (21:02 +0000)] 
Rename iterate -> iterateN

8 years agoAdd iterate function
Khudyakov Alexey [Tue, 4 Jan 2011 14:43:12 +0000 (14:43 +0000)] 
Add iterate function

8 years agoChangelog
Roman Leshchinskiy [Mon, 16 May 2011 20:56:25 +0000 (20:56 +0000)] 
Changelog

8 years agoAdd generateM
Roman Leshchinskiy [Mon, 16 May 2011 20:52:27 +0000 (20:52 +0000)] 
Add generateM

8 years agoAdd sequence and sequence_
Roman Leshchinskiy [Mon, 16 May 2011 20:40:22 +0000 (20:40 +0000)] 
Add sequence and sequence_

8 years agoAdd foldM_ and variants
Roman Leshchinskiy [Mon, 16 May 2011 20:06:15 +0000 (20:06 +0000)] 
Add foldM_ and variants

8 years agoFix doc typo
Roman Leshchinskiy [Mon, 16 May 2011 20:05:46 +0000 (20:05 +0000)] 
Fix doc typo

8 years agoReimplement specialisation of monadic functions
Roman Leshchinskiy [Mon, 16 May 2011 19:48:39 +0000 (19:48 +0000)] 
Reimplement specialisation of monadic functions

8 years agoAdd replicatePrimM and specialise replicateM
Roman Leshchinskiy [Sat, 14 May 2011 13:49:34 +0000 (13:49 +0000)] 
Add replicatePrimM and specialise replicateM

8 years agoUse delayed_min in Unboxed tuple instances
Roman Leshchinskiy [Sat, 14 May 2011 11:01:24 +0000 (11:01 +0000)] 
Use delayed_min in Unboxed tuple instances

8 years agoAdd delayed_min
Roman Leshchinskiy [Sat, 14 May 2011 11:01:04 +0000 (11:01 +0000)] 
Add delayed_min

8 years agoRemove unnecessary inplace
Roman Leshchinskiy [Wed, 11 May 2011 20:52:54 +0000 (20:52 +0000)] 
Remove unnecessary inplace