Portability | portable |
---|---|

Stability | experimental |

Maintainer | keithshep@gmail.com |

Safe Haskell | Safe-Inferred |

Some functions for joining lists

- joinTables :: Ord o => (a -> o) -> [a] -> (b -> o) -> [b] -> [(a, b)]
- crossJoinTables :: [a] -> [b] -> [(a, b)]
- joinPresortedTables :: Ord o => (a -> o) -> [a] -> Maybe a -> (b -> o) -> [b] -> Maybe b -> [(a, b)]

# Documentation

joinTables :: Ord o => (a -> o) -> [a] -> (b -> o) -> [b] -> [(a, b)]Source

join together two tables on the given column index pairs

crossJoinTables :: [a] -> [b] -> [(a, b)]Source

joinPresortedTables :: Ord o => (a -> o) -> [a] -> Maybe a -> (b -> o) -> [b] -> Maybe b -> [(a, b)]Source

join together two tables that are presorted on the given column index pairs