Bulat,
or justreturn $ map (mkVec . map read . words) $ lines str
Yeah, I wrote that one down a little bit later, but didn't really find it worth mentioning. ;) As said, I don't really think this kind of programs is suitable for learning Haskell, anyway.
Regards, Stefan _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
