Takusen: Database library with left-fold interface, for PostgreSQL, Oracle, SQLite, ODBC.

[ bsd3, database ] [ Propose Tags ]

Takusen is a DBMS access library. Like HSQL and HDBC, we support arbitrary SQL statements (currently strings, extensible to anything that can be converted to a string).

Takusen's unique selling point is safety and efficiency. We statically ensure all acquired database resources - such as cursors, connections, and statement handles - are released, exactly once, at predictable times. Takusen can avoid loading the whole result set in memory, and so can handle queries returning millions of rows in constant space. Takusen also supports automatic marshalling and unmarshalling of results and query parameters. These benefits come from the design of query result processing around a left-fold enumerator.

Currently we fully support ODBC, Oracle, Sqlite, and PostgreSQL.

Versions [faq] 0.7, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7
Dependencies base, mtl, old-time, time [details]
License BSD-3-Clause
Copyright 2003-2008, Alistair Bayley, Oleg Kiselyov
Author Alistair Bayley, Oleg Kiselyov
Maintainer alistair@abayley.org, oleg@pobox.com
Category Database
Home page http://darcs.haskell.org/takusen
Uploaded by AlistairBayley at 2008-07-11T10:11:42Z
Distributions NixOS:0.8.7
Downloads 7202 total (11 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





ODBC backend


Oracle OCI backend


PostgreSQL backend


SQLite3 backend


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees