Introduction to Doctests in Haskell

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • 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.

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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

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

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

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

  • servant

    Main repository for the servant libraries — 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