hasql-th-kronor: Template Haskell utilities for Hasql, with Kronor's quasiquote extensions
[ database, hasql, library, mit, postgresql, template-haskell ]
[ Propose Tags ]
[ Report a vulnerability ]
Kronor's fork of "hasql-th", an extension-library for Hasql, bringing compile-time syntax checking, great simplification of declaration of statements and other TemplateHaskell-based utilities.
The quasiquotes also accept Haskell function, constructor and record targets in the select list, and Haskell fields on parameter placeholders (documented in Hasql.TH). It exposes the same modules as "hasql-th" and parses with "postgresql-syntax-kronor".
For details please see the readme.
[Skip to Readme]
Modules
- Hasql
- Hasql.TH
- Construction
- Hasql.TH.Construction.Exp
- Extraction
- Hasql.TH.Extraction.ChildExprList
- Hasql.TH.Extraction.Exp
- Hasql.TH.Extraction.InputTypeList
- Hasql.TH.Extraction.OutputHsTarget
- Hasql.TH.Extraction.OutputTypeList
- Hasql.TH.Extraction.PlaceholderTypeMap
- Hasql.TH.Extraction.PrimitiveType
- Hasql.TH.Prelude
- Construction
- Hasql.TH
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| dump-splices | Dump the smoke test's Template Haskell splices to files. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hasql-th-kronor-0.5.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.5.1.1 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.11 && <5), containers (>=0.6 && <0.9), contravariant (>=1.5.2 && <2), foldl (>=1.4.5 && <2), hasql (>=1.10 && <1.11 || >=2.0 && <2.1), postgresql-syntax-kronor (>=0.5.0.3 && <0.6), template-haskell (>=2.8 && <3), template-haskell-compat-v0208 (>=0.1.9 && <0.2), text (>=1 && <3), transformers (>=0.5 && <0.7), uuid (>=1.3 && <2), vector (>=0.12 && <0.14) [details] |
| License | MIT |
| Copyright | (c) 2015, Nikita Volkov |
| Author | Nikita Volkov <nikita.y.volkov@mail.ru> |
| Maintainer | José Lorenzo Rodríguez <lorenzo@kronor.io> |
| Uploaded | by lorenzo at 2026-11-25T14:04:22Z |
| Category | Hasql, Database, PostgreSQL, Template Haskell |
| Home page | https://github.com/kronor-io/hasql-th |
| Bug tracker | https://github.com/kronor-io/hasql-th/issues |
| Source repo | head: git clone https://github.com/kronor-io/hasql-th -b hackage |
| Distributions | |
| Downloads | 0 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs pending Build status unknown [no reports yet] |