← All packages

contravariant1.5.6

Contravariant functors

Open the imported Cabal file ↗

author
Edward A. Kmett
bug-reports
http://github.com/ekmett/contravariant/issues
build-type
Simple
cabal-version
>= 1.10
category
Control, Data
copyright
Copyright (C) 2007-2015 Edward A. Kmett
extra-source-files
.hlint.yaml CHANGELOG.markdown README.markdown
homepage
http://github.com/ekmett/contravariant/
license
BSD3
license-file
LICENSE
maintainer
Edward A. Kmett <ekmett@gmail.com>
name
contravariant
stability
provisional
synopsis
Contravariant functors
tested-with
GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.7 , GHC == 9.8.4 , GHC == 9.10.3 , GHC == 9.12.2 , GHC == 9.14.1
version
1.5.6
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "contravariant",
  "version": "1.5.6",
  "cabalVersion": "1.10",
  "buildType": "Simple",
  "fields": {
    "author": [
      "Edward A. Kmett"
    ],
    "bug-reports": [
      "http://github.com/ekmett/contravariant/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      ">= 1.10"
    ],
    "category": [
      "Control, Data"
    ],
    "copyright": [
      "Copyright (C) 2007-2015 Edward A. Kmett"
    ],
    "description": [
      "Contravariant functors."
    ],
    "extra-source-files": [
      ".hlint.yaml\nCHANGELOG.markdown\nREADME.markdown"
    ],
    "homepage": [
      "http://github.com/ekmett/contravariant/"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "Edward A. Kmett <ekmett@gmail.com>"
    ],
    "name": [
      "contravariant"
    ],
    "stability": [
      "provisional"
    ],
    "synopsis": [
      "Contravariant functors"
    ],
    "tested-with": [
      "GHC == 8.0.2\n, GHC == 8.2.2\n, GHC == 8.4.4\n, GHC == 8.6.5\n, GHC == 8.8.4\n, GHC == 8.10.7\n, GHC == 9.0.2\n, GHC == 9.2.8\n, GHC == 9.4.8\n, GHC == 9.6.7\n, GHC == 9.8.4\n, GHC == 9.10.3\n, GHC == 9.12.2\n, GHC == 9.14.1"
    ],
    "version": [
      "1.5.6"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Data.Functor.Contravariant.Compose",
            "Data.Functor.Contravariant.Divisible"
          ],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.9 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers",
              "range": ">=0.3 && <0.7",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "flag": "statevar"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "StateVar",
                    "range": ">=1.2.1 && <1.3",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "compiler": "ghc",
              "range": "-any"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [
                  "Data.Functor.Contravariant.Generic"
                ],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "compiler": "ghc",
              "range": "<8.5"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [
                  "Data.Functor.Contravariant"
                ],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "compiler": "ghc",
              "range": ">=8.6"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "compiler": "ghc",
              "range": ">=9.0"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "statevar",
      "default": true,
      "manual": true,
      "description": "You can disable the use of the `StateVar` package using `-f-StateVar`.\n\nDisabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users."
    }
  ],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/ekmett/contravariant.git"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/contravariant-1.5.6/contravariant.cabal",
  "sha256": "288f1d3e6fb3adcf9f36f28ffa189673f2f1303812296dfb2523478ad31dd9e2",
  "importedAt": "2026-10-14T12:44:23.520Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.9 && <5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "transformers",
      "range": ">=0.3 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "StateVar",
      "range": ">=1.2.1 && <1.3",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "statevar"
        }
      ]
    }
  ],
  "exposedModules": [
    "Data.Functor.Contravariant.Compose",
    "Data.Functor.Contravariant.Divisible",
    "Data.Functor.Contravariant.Generic",
    "Data.Functor.Contravariant"
  ],
  "documents": {
    "readme": {
      "status": "available",
      "sha256": "0171d51ac945d30af1fe7188b9403a92b270a894a7b7ce763100ef33c908df26",
      "error": null,
      "checkedAt": "2026-10-14T12:44:24.208Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "9d296ac404d36918bf4a4e89424350eb7f707f4d37ff31619d8b1e1f5ba3fad1",
      "error": null,
      "checkedAt": "2026-10-14T12:44:24.353Z"
    }
  },
  "documentation": null,
  "versions": [
    {
      "version": "1.5.6",
      "imported_at": "2026-10-14T12:44:23.520Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.