packages feed

vector-algorithms 0.3.3 → 0.3.4

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

Data/Vector/Algorithms/Combinators.hs view
@@ -33,8 +33,8 @@  -- | Safely applies a mutable array algorithm to an immutable array. apply :: (Vector v e) => (forall s mv. M.MVector mv e => mv s e -> ST s ()) -> v e -> v e-apply algo v = new . N.New $-                 M.unstream (stream v) >>= \arr -> algo arr >> return arr+apply algo v = (new . N.New)+                 (M.unstream (stream v) >>= \arr -> algo arr >> return arr)  {- -- | Uses a function to compute a key for each element which the
vector-algorithms.cabal view
@@ -1,5 +1,5 @@ Name:              vector-algorithms-Version:           0.3.3+Version:           0.3.4 License:           BSD3 License-File:      LICENSE Author:            Dan Doel