{"id":19338024,"url":"https://github.com/scrive/quickspec","last_synced_at":"2026-04-17T06:03:02.802Z","repository":{"id":66324053,"uuid":"484342699","full_name":"scrive/quickspec","owner":"scrive","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-22T07:45:36.000Z","size":1612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":23,"default_branch":"dev-ghc902","last_synced_at":"2025-02-24T08:16:17.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scrive.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-22T07:45:13.000Z","updated_at":"2022-04-22T07:47:09.000Z","dependencies_parsed_at":"2023-03-13T20:29:54.089Z","dependency_job_id":null,"html_url":"https://github.com/scrive/quickspec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scrive/quickspec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrive%2Fquickspec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrive%2Fquickspec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrive%2Fquickspec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrive%2Fquickspec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scrive","download_url":"https://codeload.github.com/scrive/quickspec/tar.gz/refs/heads/dev-ghc902","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrive%2Fquickspec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31917372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T03:16:05.643Z","updated_at":"2026-04-17T06:03:02.757Z","avatar_url":"https://github.com/scrive.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"QuickSpec: equational laws for free!\n====================================\n\nQuickSpec takes your Haskell code and, as if by magic, discovers laws about it.\nYou give QuickSpec a collection of Haskell functions; QuickSpec tests your functions\nwith QuickCheck and prints out laws which seem to hold.\n\nFor example, give QuickSpec the functions `reverse`, `++` and `[]`, and it will\nfind six laws:\n\n```haskell\nreverse [] == []\nxs ++ [] == xs\n[] ++ xs == xs\nreverse (reverse xs) == xs\n(xs ++ ys) ++ zs == xs ++ (ys ++ zs)\nreverse xs ++ reverse ys == reverse (ys ++ xs)\n```\n\nQuickSpec can find equational laws as well as conditional equations. All you\nneed to supply are the functions to test, as well as `Ord` and `Arbitrary`\ninstances for QuickSpec to use in testing; the rest is automatic.\n\nFor information on how to use QuickSpec, see\n[the documentation](http://hackage.haskell.org/package/quickspec/docs/QuickSpec.html).\nYou can also look in the `examples` directory, for example at\n`List.hs`, `IntSet.hs`, or `Parsing.hs`. To read about how QuickSpec works, see\nour paper, [Quick specifications for the busy programmer](http://www.cse.chalmers.se/~nicsma/papers/quickspec2.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrive%2Fquickspec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrive%2Fquickspec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrive%2Fquickspec/lists"}