Module

Data.Table.Internal

Package
purescript-tables
Repository
colehaus/purescript-tables

#Table Source

data Table rowId columnId cell row column

Constructors

Instances

#Error Source

data Error rowId columnId cell

Constructors

Instances

#valid Source

valid :: forall column row cell columnId rowId. Ord rowId => Ord columnId => Ord cell => Table rowId columnId cell row column -> Either (Set (Error rowId columnId cell)) Unit

#vectors Source

vectors :: forall id c idc ide. Eq ide => Ord idc => (Tuple id c -> ide) -> (Tuple id c -> idc) -> Map id c -> List (NonEmptyList (Tuple id c))

#columnId Source

columnId :: forall a c r. Tuple (Tuple r c) a -> c

#columnSort Source

columnSort :: forall a c r. Tuple (Tuple r c) a -> Tuple c r

#rowId Source

rowId :: forall a c r. Tuple (Tuple r c) a -> r

#rowSort Source

rowSort :: forall a c r. Tuple (Tuple r c) a -> Tuple r c

#vector Source

vector :: forall cell columnId rowId vec id. Eq id => (Tuple (Tuple rowId columnId) cell -> id) -> (NonEmptyList cell -> Maybe vec) -> Map (Tuple rowId columnId) cell -> id -> Maybe vec