database-study-0.0.1: Demonstrate how a database can be implemented the functional way

Example.RelationalAlgebra

Description

some queries implemented using operations from relational algebra

Synopsis

Documentation

employees :: [Emp]Source

all employees

clerks :: [Emp]Source

all clerks

richClerks :: [Emp]Source

all clerks with salary at least 1000

researchers :: [Emp]Source

all employees in research department

teamSalaries :: [(String, Int)]Source

A recursive query: Compute the total salary for each manager and the total set of employees he conducts.