Tie New to a particular vector type
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Sat, 17 Apr 2010 06:37:27 +0000 (06:37 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Sat, 17 Apr 2010 06:37:27 +0000 (06:37 +0000)
commit9401567a865dbc5a4a29abea6a9831f9b5495a00
treed3afab54712f1f1ebac66e82132d844e8bc948fb
parent0efb190f942b0a97ef59763f1a8049b5388926b5
Tie New to a particular vector type

We now have (New v a) which can only be used to create vectors of type (v a)
where before, (New a) could be used to create arbitrary vectors. This allows
the initialiser in New to include operations which only work for a particular
implementation of Vector. This will be quite useful in the future, I'm sure.
Data/Vector/Generic.hs
Data/Vector/Generic/Base.hs [new file with mode: 0644]
Data/Vector/Generic/New.hs
vector.cabal