An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

DSH

This is a Haskell library for database-supported program execution. Using DSH, a relational database management system (RDBMS) can be used as a coprocessor for the Haskell programming language, especially for those program fragments that carry out data-intensive and data-parallel computations. Database executable program fragments can be written using the monad comprehension notation [2] and list processing combinators from the Haskell list prelude. Note that rather than embedding a relational language into Haskell, we turn idiomatic Haskell programs into SQL queries. DSH faithfully represents list order and nesting, and compiles the list processing combinators into relational queries. The implementation avoids unnecessary data transfer and context switching between the database coprocessor and the Haskell runtime by ensuring that the number of generated relational queries is only determined by the program fragment's type and not by the database size. DSH can be used to allow existing Haskell programs to operate on large scale data (e.g., larger than the available heap) or query existing database resident data with Haskell. Note that this package is flagged experimental and therefore is not suited for production use (we mean it!). This is a proof of concept implementation only. To learn more about DSH, our paper "The Flatter, the Better — Query Compilation Based on the Flattening Transformation." [1] is a recommended reading. The package includes a couple of examples that demonstrate how to use DSH. The current release does not rely anymore on the loop-lifting compilation technique and the Pathfinder optimizer. Instead, it brings a completely rewritten query compiler based on Guy Blelloch's flattening transformation. This approach leads to a more robust compilation and produces more efficient query code. To generate actual code for a relational backend, an additional backend package needs to be installed. Currently, the package 'dsh-sql' on Hackage provides SQL code generation for PostgreSQL. Please read the release notes in README.md. http://db.inf.uni-tuebingen.de/publications/TheFlatter-theBetter-QueryCompilationBasedontheFlatteningTransformation.html http://db.inf.uni-tuebingen.de/staticfiles/publications/haskell2011.pdf

Ecosystem
hackage.haskell.org
Latest Release
0.7.8
over 14 years ago
Versions
35
Downloads
31,731 total
Dependent Repos
6
0.12.0.1
Published: almost 11 years ago
Registry - Download
0.12.0.0
Published: almost 11 years ago
Registry - Download
0.10.0.2
Published: about 11 years ago
Registry - Download
0.10.0.1
Published: about 11 years ago
Registry - Download
0.10.0.0
Published: about 11 years ago
Registry - Download
0.8.2.3
Published: over 13 years ago
Registry - Download
0.8.2.2
Published: over 13 years ago
Registry - Download
0.8.2.1
Published: over 13 years ago
Registry - Download
0.8.2.0
Published: over 13 years ago
Registry - Download
0.8.1.0
Published: over 13 years ago
Registry - Download
0.8.0.1
Published: over 13 years ago
Registry - Download
0.7.8.2
Published: over 13 years ago
Registry - Download
0.7.8.1
Published: almost 14 years ago
Registry - Download
0.7.8
Published: over 14 years ago
Registry - Download
0.7.7
Published: over 14 years ago
Registry - Download
0.7.6
Published: over 14 years ago
Registry - Download
0.7.5
Published: over 14 years ago
Registry - Download
0.7.4
Published: over 14 years ago
Registry - Download
0.7.3
Published: over 14 years ago
Registry - Download
0.7.2
Published: over 14 years ago
Registry - Download
0.7.1
Published: over 14 years ago
Registry - Download
0.6.6
Published: over 14 years ago
Registry - Download
0.7
Published: over 14 years ago
Registry - Download
0.6.2
Published: over 14 years ago
Registry - Download
0.6.1
Published: over 14 years ago
Registry - Download
0.6
Published: over 14 years ago
Registry - Download
0.5.5
Published: almost 15 years ago
Registry - Download
0.5.3
Published: about 15 years ago
Registry - Download
0.5
Published: about 15 years ago
Registry - Download
0.4.3
Published: about 15 years ago
Registry - Download
0.4.2.1
Published: about 15 years ago
Registry - Download
0.4.0.1
Published: about 15 years ago
Registry - Download
0.4.2
Published: about 15 years ago
Registry - Download
0.4.1
Published: about 15 years ago
Registry - Download
0.4
Published: about 15 years ago
Registry - Download
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/DSH
spec
License BSD-3-Clause
First Release about 15 years ago
Last Synced 9 days ago
Rankings on hackage.haskell.org
Downloads Top 4.7%