txt-sushi-0.6.0: The SQL link in your *NIX chain

Portabilityportable
Stabilityexperimental
Maintainerkeithshep@gmail.com
Safe HaskellSafe-Inferred

Database.TxtSushi.Relational

Description

Some functions for joining lists

Synopsis

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