Регистрация | Вход
import csvwith open('example.csv', newline='') as File: reader = csv.reader(File) for row in reader: print(row)
module Main whereimport qualified Data.Vector as Vimport qualified Data.ByteString.Lazy as BLimport Data.Csvmain :: IO ()main = do f <- BL.readFile "inputs.csv" case decode NoHeader f of Left err -> print err Right xs -> V.forM_ xs $ \(x :: Int, y :: Int) -> print (x, y)