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)
(Hashable rowId, Hashable columnId) => Hashable (MissingCell rowId columnId)
#mapVectors Source
mapVectors :: forall idr id cell2 cell1 columnId rowId. Hashable id => Hashable rowId => Hashable columnId => Hashable cell1 => Hashable idr => (Tuple rowId columnId -> id) -> (Tuple rowId columnId -> idr) -> (id -> idr -> Tuple rowId columnId) -> (HashMap idr cell1 -> HashMap idr 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
- Modules
- Data.
Table - Data.
Table. Internal