How to use PostgreSQL with Haskell: hasql

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
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.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

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

  • 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

    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

Did you konow that Haskell is
the 25th most popular programming language
based on number of metions?