Module

Data.Table.Parse

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

#Error Source

data Error rowId colId

Constructors

Instances

#parse Source

parse :: forall cell rowId colId. Hashable rowId => Hashable colId => (String -> Maybe cell) -> (String -> Maybe colId) -> (String -> Maybe rowId) -> String -> Either (Error rowId colId) (Table rowId colId cell)

#table Source

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

#toTyped Source

toTyped :: forall cell rowId colId. Hashable rowId => Hashable colId => (String -> Maybe cell) -> (String -> Maybe colId) -> (String -> Maybe rowId) -> List (List String) -> Either (Error rowId colId) (Table rowId colId cell)