Introduction to Doctests in Haskell

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
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
  1. accelerate

    Embedded language for high-performance array computations (by AccelerateHS)

    Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. haskell-awk

    Haskell text processor for the command-line (by gelisam)

    Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.

  4. polysemy

    :gemini: higher-order, no-boilerplate monads

    Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.

  5. pretty-simple

    pretty-printer for Haskell data types that have a Show instance

    Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.

  6. Cabal

    Official upstream development repository for Cabal and cabal-install

    I also think it is worth mentioning the new code generators stanza which will be part of Cabal 3.7.0.0. I believe this was intended to make the doctest situation more elegant (once it is released, of course).

  7. servant

    Servant is a Haskell DSL for describing, serving, querying, mocking, documenting web applications and more!

    And what about the cabal repl --with-compiler=doctest, which was added recently, in doctest v0.20? I recently submitted a PR for Servant to use this in place of GHC environment files, because it seems less finicky to me. Was this a bad idea?

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

  • Best practices for setting up CI tests for a Stack project?

    4 projects | /r/haskell | 26 Apr 2022
  • Why Haskell?

    15 projects | news.ycombinator.com | 12 Sep 2024
  • NixOS + Haskell best practices circa March 2023

    6 projects | /r/haskell | 7 Mar 2023
  • Why GHCi is my new calculator

    3 projects | /r/haskell | 24 Feb 2023
  • Monthly Hask Anything (March 2022)

    5 projects | /r/haskell | 2 Mar 2022