Name:             database-study
Version:          0.0.2
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://dbs.informatik.uni-halle.de/Lehre/LP09/
Category:         Monads, Database
Synopsis:         Demonstrate how a database can be implemented the functional way
Description:
  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.
Tested-With:       GHC==8.6.5
Cabal-Version:     >=1.10
Build-Type:        Simple
Extra-Source-Files:
  Makefile

Source-Repository head
  type:     darcs
  location: http://code.haskell.org/~thielema/database-study/

Source-Repository this
  type:     darcs
  location: http://code.haskell.org/~thielema/database-study/
  tag:      0.0.2

Flag splitBase
  description: Choose the new smaller, split-up base package.

Library
  Build-Depends:
    containers >=0.1 && <0.7
  If flag(splitBase)
    Build-Depends: base >= 2 && <6
  Else
    Build-Depends: base >= 1.0 && < 2, special-functors >=1.0 && <1.1

  Default-Language: Haskell98
  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Company
    Query
    Table
--  Other-Modules:
    Example.RelationalAlgebra
    Example.QueryMonad
    Example.UpdateMonad