From cd3daf7e12fa2a8c775a1d6516049bbc7e44da32 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 24 Apr 2014 20:50:10 +0200 Subject: deprecate vjoin, dot and (<.>). Move (⋅) to Container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Data/Packed/Vector.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/Data/Packed') diff --git a/lib/Data/Packed/Vector.hs b/lib/Data/Packed/Vector.hs index a705ce4..f12031f 100644 --- a/lib/Data/Packed/Vector.hs +++ b/lib/Data/Packed/Vector.hs @@ -19,7 +19,7 @@ module Data.Packed.Vector ( Vector, fromList, (|>), toList, buildVector, dim, (@>), - subVector, takesV, vjoin, + subVector, takesV, vjoin, join, mapVector, mapVectorWithIndex, zipVector, zipVectorWith, unzipVector, unzipVectorWith, mapVectorM, mapVectorM_, mapVectorWithIndexM, mapVectorWithIndexM_, foldLoop, foldVector, foldVectorG, foldVectorWithIndex @@ -88,3 +88,8 @@ unzipVector :: (Storable a, Storable b, Storable (a,b)) => Vector (a,b) -> (Vect unzipVector = unzipVectorWith id ------------------------------------------------------------------- + +{-# DEPRECATED join "use vjoin or Data.Vector.concat" #-} +join :: Storable t => [Vector t] -> Vector t +join = vjoin + -- cgit v1.2.3