Hello Stefan, Sunday, August 14, 2005, 2:05:00 PM, you wrote: SH> let format line = "[" ++ concat (intersperse "," (words line)) ++ "]" SH> return $ map (mkVec . read . format) $ lines str -- CORRECTED or just return $ map (mkVec . map read . words) $ lines str -- Best regards, Bulat mailto:bulatz at HotPOP.com