How to use PostgreSQL with Haskell: hasql

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. hasql-transaction

    A composable abstraction over retriable transactions for Hasql

    Hasql is an ecosystem of libraries. To keep it simple, let’s limit ourselves to core hasql, hasql-transaction, and hasql-th. We’re using hasql 1.6.3.2 published in 2023.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. profunctors

    Haskell 98 Profunctors

    We’ll also use contravariant-extras, vector, profunctors, and tuple packages to make a few things tidier (this isn’t required; it’s all copy-paste anyway).

  4. hasql-pool

    A pool of connections for Hasql

    In reality/production, we should probably use hasql-pool to work with a pool of connections.

  5. contravariant-extras

    Extras for the "contravariant" package

    We’ll also use contravariant-extras, vector, profunctors, and tuple packages to make a few things tidier (this isn’t required; it’s all copy-paste anyway).

  6. hasql-th

    Template Haskell utilities for Hasql

    Hasql is an ecosystem of libraries. To keep it simple, let’s limit ourselves to core hasql, hasql-transaction, and hasql-th. We’re using hasql 1.6.3.2 published in 2023.

  7. elephants

    How to use PostgreSQL with Haskell (features and basics like writing queries, complexity, pitfalls, errors, etc.)

    💡 Remember that you can see the complete code in the repo.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • haskell todo list app (beginner)

    3 projects | /r/haskell | 8 Jun 2023
  • [ANN] hasql-listen-notify: LISTEN/NOTIFY support for hasql

    2 projects | /r/haskell | 30 Jan 2023
  • Parsing SQL

    7 projects | news.ycombinator.com | 22 Aug 2022
  • Haskell doesn't make sense without pure functions

    4 projects | /r/haskell | 2 Oct 2021
  • Optimizing a Rust GPU matmul kernel

    2 projects | news.ycombinator.com | 6 Dec 2024