lsql-csv-0.1.0.4: A tool for CSV files data querying from the shell with short queries.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lsql.Csv.Lang.From.CsvParser

Description

This module contains the CsvParser called by the parseFile, which loads input CSV files.

Synopsis

Documentation

data Assignment Source #

A data structure representing one input file

Constructors

CoreCsv

An input file without any assigned names

Fields

  • Int

    The index of the file (indexing from 1)

  • String

    The path to the file

  • Program

    A potentially altered Program for the given CSV file

  • [Option]

    Parsed additional Options for the given CSV file

NamedCsv

An input file with an assigned name

Fields

parseFile :: Assignment -> IO Table Source #

Parses CSV file described in the given Assignment.