← All packages

assoc1.1.1

swap and assoc: Symmetric and Semigroupy Bifunctors

Open the imported Cabal file ↗

author
Oleg Grenrus <oleg.grenrus@iki.fi>
build-type
Simple
cabal-version
3.0
category
Data
extra-source-files
CHANGELOG.md
license
BSD-3-Clause
license-file
LICENSE
maintainer
Oleg Grenrus <oleg.grenrus@iki.fi>
name
assoc
synopsis
swap and assoc: Symmetric and Semigroupy Bifunctors
tested-with
GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.2 || ==9.12.2 || ==9.14.1
version
1.1.1
x-revision
2
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "assoc",
  "version": "1.1.1",
  "cabalVersion": "3.0",
  "buildType": "Simple",
  "fields": {
    "author": [
      "Oleg Grenrus <oleg.grenrus@iki.fi>"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      "3.0"
    ],
    "category": [
      "Data"
    ],
    "description": [
      "Provides generalisations of\n@swap :: (a,b) -> (b,a)@ and\n@assoc :: ((a,b),c) -> (a,(b,c))@\nto\n@Bifunctor@s supporting similar operations (e.g. @Either@, @These@)."
    ],
    "extra-source-files": [
      "CHANGELOG.md"
    ],
    "license": [
      "BSD-3-Clause"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "Oleg Grenrus <oleg.grenrus@iki.fi>"
    ],
    "name": [
      "assoc"
    ],
    "synopsis": [
      "swap and assoc: Symmetric and Semigroupy Bifunctors"
    ],
    "tested-with": [
      "GHC ==8.6.5\n|| ==8.8.4\n|| ==8.10.7\n|| ==9.0.2\n|| ==9.2.8\n|| ==9.4.8\n|| ==9.6.6\n|| ==9.8.4\n|| ==9.10.2\n|| ==9.12.2\n|| ==9.14.1"
    ],
    "version": [
      "1.1.1"
    ],
    "x-revision": [
      "2"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Data.Bifunctor.Assoc",
            "Data.Bifunctor.Swap"
          ],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.12 && <4.23",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "flag": "tagged"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "tagged",
                    "range": ">=0.8.8 && <0.9",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "tagged",
      "default": false,
      "manual": true,
      "description": "You can disable the use of the `tagged` package using `-f-tagged`.\n.\nDisabing 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/phadej/assoc.git"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/assoc-1.1.1/assoc.cabal",
  "sha256": "766b1040eda5255bfcf10e1a9859c06d0ed6ad0e2ac87ed915bb035574d10ae4",
  "importedAt": "2026-10-14T12:39:25.165Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.12 && <4.23",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "tagged",
      "range": ">=0.8.8 && <0.9",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "tagged"
        }
      ]
    }
  ],
  "exposedModules": [
    "Data.Bifunctor.Assoc",
    "Data.Bifunctor.Swap"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-14T12:39:25.913Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "9e578b3384d91827aff9c8a068077724c9c3d9784580686a9327bb38c1914f23",
      "error": null,
      "checkedAt": "2026-10-14T12:39:26.053Z"
    }
  },
  "documentation": {
    "id": "34a5156d54286210e926436a6393a8cbac55839c2e0ae93d54f5e1a5f47ef526",
    "plan_id": "c65342c80cbea077e4fe8bdd299cf9074c9e6ad91c8e042f9bddf420084cbd55",
    "provenance": "community",
    "diagnostics": 0,
    "created_at": 1791984779
  },
  "versions": [
    {
      "version": "1.1.1",
      "imported_at": "2026-10-14T12:39:25.165Z"
    }
  ]
}

Import a package

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