dawdle-0.1.0.2: Generates DDL suggestions based on a CSV file

Safe HaskellSafe
LanguageHaskell2010

Database.Dawdle.Parser

Synopsis

Documentation

parseCsv Source

Arguments

:: Char

Separator character for CSV

-> String

Source of the text (stdin/file name)

-> Text

Data.Text.Lazy's Text of the source

-> Either ParseError [[String]]

Either Text.Parsec's ParseError or a 2D list of parsed strings

Parses a CSV file and returns a 2D list of parsed strings