mathiassm
Safe HaskellNone
LanguageGHC2024

MathiasSM.Tsv

Synopsis

Documentation

type Row = [(String, String)] #

A table row as (column name, cell) pairs

parseTsv :: String -> [Row] #

Parses tab-separated text. The first line is the header; blank lines and lines starting with # are skipped.

rowContext :: Context Row #

Exposes every column of a row as a context field

isYes :: String -> Row -> Bool #

Reads a boolean cell (yestrue1)