How to use PostgreSQL with Haskell: hasql

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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.

  • 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).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hasql-pool

    A pool of connections for Hasql

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

  • 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).

  • 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.

  • elephants

  • 💡 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
  • Single Software Developer Projects

    1 project | dev.to | 24 Feb 2024