import "StandardLibrary" a :: Vector Double a = vector [1,2,3] main = map (a !) [0..length a-1] -- [1.0, 2.0, 3.0]