polytropos-quickcheck: QuickCheck generators and slot-indexed shrinkers for polytropos open rows

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Property-based testing integration connecting polytropos open records and variants to QuickCheck.

Provides Test.QuickCheck.Arbitrary instances for Polytropos.Record and Polytropos.Variant: records generate values heterogeneously via Polytropos.Core.AllFields and shrink slot-by-slot (avoiding Cartesian product blowup); variants pick uniformly across constructor tags and shrink strictly within the active constructor branch.

Start at the front door module Polytropos.QuickCheck for complete documentation, shrink semantics, and worked examples.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.2
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), polytropos-core (>=0.1 && <0.2), polytropos-plugin (>=0.1 && <0.2), QuickCheck (>=2.14 && <2.19) [details]
License (EUPL-1.2 OR Apache-2.0)
Author Nadia Yvette Chambers
Maintainer nadia.yvette.chambers@ik.me
Category Testing
Home page https://github.com/NadiaYvette/polytropos
Bug tracker https://github.com/NadiaYvette/polytropos/issues
Source repo head: git clone https://github.com/NadiaYvette/polytropos(packages/polytropos-quickcheck)
Uploaded by nyc at 2026-10-17T18:55:23Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for polytropos-quickcheck-0.1.0.0

[back to package description]

polytropos-quickcheck

Property-based testing integration connecting polytropos open records and variants to QuickCheck.

Overview

polytropos-quickcheck provides Arbitrary instances for Record and Variant, enabling automated test generation and slot-by-slot shrinking.

Features

License

Dual-licensed under EUPL-1.2 OR Apache-2.0.