dph-examples-0.5.1.1: imaginary/Evens/dph/EvensVector.hs
module EvensVector (evensV) where import Data.Vector.Unboxed (Vector) import qualified Data.Vector.Unboxed as V evensV :: Vector Int -> Vector Int evensV ints = V.filter (\x -> x `mod` 2 == 0) ints