Module

Data.Table.Parse

Package
purescript-tables-parse
Repository
colehaus/purescript-tables-parse

#Error Source

data Error rowId colId cell

Constructors

Instances

#parse Source

parse :: forall cell row column rowId colId. Ord rowId => Ord colId => Ord cell => Ord colId => (String -> Maybe cell) -> (String -> Maybe colId) -> (NonEmptyList cell -> Maybe row) -> (String -> Maybe rowId) -> (NonEmptyList cell -> Maybe column) -> String -> Either (Error rowId colId cell) (Table rowId colId cell row column)

#table Source

table :: forall m. Monad m => ParserT String m (List (List String))

#toTyped Source

toTyped :: forall cell row column rowId colId. Ord rowId => Ord colId => Ord cell => Ord colId => (String -> Maybe cell) -> (String -> Maybe colId) -> (NonEmptyList cell -> Maybe row) -> (String -> Maybe rowId) -> (NonEmptyList cell -> Maybe column) -> List (List String) -> Either (Error rowId colId cell) (Table rowId colId cell row column)