0BSD licensed
Maintained by Taylor Fausak
This version can be pinned in stack with:heck-0.2025.5.22@sha256:8da8edba1c09bdde7ea264ca68a0437f1053c514dcf8c942c4d2ad21470e33d4,837

Module documentation for 0.2025.5.22

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2025-08-22(full list with versions):

Heck

Heck is a Haskell library that provides a abstract unit test interface. It can be used to write tests without depending on any particular test library.

Example

import Heck

spec :: (Applicative m, Monad n) => Test m n -> n ()
spec t = describe t "something" $ do
  it t "works" $ do
    assertEq t 'b' (max 'a' 'b')
  it t "fails" $ do
    assertEq t "expected" "actual"

Changes

Change log

Heck follows the Package Versioning Policy. You can find release notes on GitHub.