FICHA · MANJARO

haskell-should-not-typecheck

A HUnit/hspec assertion library to verify that an expression does not typecheck

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Provides HUnit and Hspec assertions that verify an expression does not typecheck. This lets Haskell libraries test negative type-level behavior, not only successful runtime behavior.

It is useful for libraries with advanced types, APIs that should reject invalid code, and documentation examples that demonstrate compile-time errors. It is a test support library and is used by automated test suites.

Permissions

Permissions not analysed for this source yet.