File: README.md

package info (click to toggle)
hdbc 2.3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 200 kB
  • sloc: haskell: 1,206; makefile: 28
file content (33 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
HDBC
====

Welcome to HDBC, Haskell Database Connectivity.

HDBC is modeled loosely on Perl's DBI interface, though it has also
been influenced by Python's DB-API v2, JDBC in Java, and HSQL in
Haskell.

Please see the HDBC [wiki](https://github.com/hdbc/hdbc/wiki) for an
introduction to HDBC and its various features.

Installation
------------

You'll need either GHC 6.4.1 or above, or Hugs 2005xx or above.

The steps to install are:

    ghc --make -o setup Setup.lhs
    ./setup configure
    ./setup build
    sudo ./setup install

If you're on Windows, you can omit the leading "./".

Usage
-----

To use with hugs, you'll want to use hugs -98.

To use with GHC, you'll want to use -package HDBC in your programs.
Or, with Cabal, use Build-Depends: HDBC.