Module
Data.Table.Internal
- Package
- purescript-tables
- Repository
- colehaus/purescript-tables
#MissingCell Source
newtype MissingCell rowId columnId
Constructors
MkMissingCell (Tuple rowId columnId)
Instances
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)
#mapVectors Source
mapVectors :: forall id cell2 cell1 columnId rowId. Ord id => Ord rowId => Ord columnId => (Tuple rowId columnId -> id) -> (NonEmptyList cell1 -> NonEmptyList cell2) -> Table rowId columnId cell1 -> Either (Set (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 with a Left
.
- Modules
- Data.
Table - Data.
Table. Internal