@hackage / database-study

Demonstrate how a database can be implemented the functional way

Latest0.0.1

About

Metadata

  • Last updated , by HenningThielemann
  • License BSD-3-Clause
  • Categories Monads, Databases
  • Maintained by: Henning Thielemann <haskell@henning-thielemann.de>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    splitbase (on by default)

    Choose the new smaller, split-up base package.

Readme

This package consists of some toy modules that translate the well-known company database example. We show how to implement various queries and database updates in a way that is both simple and clean. It is recommended to download the package with cabal fetch, extract it in a local directory and run make ghci. Additionally open a text editor and follow the examples in the Example directory. The first queries in the modules Example.RelationalAlgebra and Example.QueryMonad are the same but in different styles.