Module
Data.Table
- Package
- purescript-tables
- Repository
- colehaus/purescript-tables
#mapColumns Source
mapColumns :: forall rowId columnId cell1 cell2. Hashable columnId => Hashable rowId => Hashable cell1 => (HashMap rowId cell1 -> HashMap rowId cell2) -> Table rowId columnId cell1 -> Either (HashSet (MissingCell rowId columnId)) (Table rowId columnId cell2)The mapping function should preserve the length of the list. If it doesn't, you'll end up
#mapRows Source
mapRows :: forall rowId columnId cell1 cell2. Hashable columnId => Hashable rowId => Hashable cell1 => (HashMap columnId cell1 -> HashMap columnId cell2) -> Table rowId columnId cell1 -> Either (HashSet (MissingCell rowId columnId)) (Table rowId columnId cell2)The mapping function should preserve the length of the list. If it doesn't, you'll end up
Re-exports from Data.Table.Internal
#MissingCell Source
newtype MissingCell rowId columnIdInstances
Generic (MissingCell rowId columnId) _(Eq rowId, Eq columnId) => Eq (MissingCell rowId columnId)(Ord rowId, Ord columnId) => Ord (MissingCell rowId columnId)(Show rowId, Show columnId) => Show (MissingCell rowId columnId)(Hashable rowId, Hashable columnId) => Hashable (MissingCell rowId columnId)
- Modules
- Data.
Table - Data.
Table. Internal