← All packages

containers0.8.1

Assorted concrete container types

Open the imported Cabal file ↗

bug-reports
https://github.com/haskell/containers/issues
build-type
Simple
cabal-version
2.2
category
Data Structures
extra-doc-files
changelog.md
extra-source-files
include/containers.h mkappend.hs
homepage
https://github.com/haskell/containers
license
BSD-3-Clause
license-file
LICENSE
maintainer
libraries@haskell.org
name
containers
synopsis
Assorted concrete container types
tested-with
GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 || ==9.14.1
version
0.8.1
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "containers",
  "version": "0.8.1",
  "cabalVersion": "2.2",
  "buildType": "Simple",
  "fields": {
    "bug-reports": [
      "https://github.com/haskell/containers/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      "2.2"
    ],
    "category": [
      "Data Structures"
    ],
    "description": [
      ".\nThis package contains efficient general-purpose implementations\nof various immutable container types including sets, maps, sequences,\ntrees, and graphs.\n.\nFor a walkthrough of what this package provides with examples of common\noperations see the [containers\nintroduction](https://haskell-containers.readthedocs.io).\n.\nThe declared cost of each operation is either worst-case or amortized, but\nremains valid even if structures are shared."
    ],
    "extra-doc-files": [
      "changelog.md"
    ],
    "extra-source-files": [
      "include/containers.h\nmkappend.hs"
    ],
    "homepage": [
      "https://github.com/haskell/containers"
    ],
    "license": [
      "BSD-3-Clause"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "libraries@haskell.org"
    ],
    "name": [
      "containers"
    ],
    "synopsis": [
      "Assorted concrete container types"
    ],
    "tested-with": [
      "GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 ||\n==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 || ==9.14.1"
    ],
    "version": [
      "0.8.1"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Data.Containers.ListUtils",
            "Data.IntMap",
            "Data.IntMap.Lazy",
            "Data.IntMap.Strict",
            "Data.IntMap.Strict.Internal",
            "Data.IntMap.Internal",
            "Data.IntMap.Internal.Debug",
            "Data.IntMap.Merge.Lazy",
            "Data.IntMap.Merge.Strict",
            "Data.IntSet.Internal",
            "Data.IntSet.Internal.IntTreeCommons",
            "Data.IntSet",
            "Data.Map",
            "Data.Map.Lazy",
            "Data.Map.Merge.Lazy",
            "Data.Map.Strict.Internal",
            "Data.Map.Strict",
            "Data.Map.Merge.Strict",
            "Data.Map.Merge.Set.Internal",
            "Data.Map.Merge.Set.Lazy",
            "Data.Map.Merge.Set.Strict",
            "Data.Map.Internal",
            "Data.Map.Internal.Debug",
            "Data.Set.Internal",
            "Data.Set.Merge",
            "Data.Set",
            "Data.Graph",
            "Data.Sequence",
            "Data.Sequence.Internal",
            "Data.Sequence.Internal.Sorting",
            "Data.Tree"
          ],
          "otherModules": [
            "Utils.Containers.Internal.Prelude",
            "Utils.Containers.Internal.State",
            "Utils.Containers.Internal.Strict",
            "Utils.Containers.Internal.PtrEquality",
            "Utils.Containers.Internal.EqOrdUtil",
            "Utils.Containers.Internal.BitUtil",
            "Utils.Containers.Internal.BitQueue"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.10 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "array",
              "range": ">=0.5.2.0",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "deepseq",
              "range": ">=1.4.3.0 && <1.6",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "compiler": "ghc",
              "range": ">=9.14"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "template-haskell-lift",
                    "range": ">=0.1 && <0.2",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": [
                {
                  "condition": {
                    "compiler": "ghc",
                    "range": "-any"
                  },
                  "then": {
                    "data": {
                      "buildable": null,
                      "exposedModules": [],
                      "otherModules": [],
                      "dependencies": [
                        {
                          "package": "template-haskell",
                          "range": "-any",
                          "libraries": [
                            "main"
                          ]
                        }
                      ],
                      "fields": {}
                    },
                    "branches": []
                  },
                  "else": null
                }
              ]
            }
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/haskell/containers"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/containers-0.8.1/containers.cabal",
  "sha256": "11cc66be32854dc6b9c04c1e4f9a3ecb4939399a3b54bf00c6c085d538470b12",
  "importedAt": "2026-10-04T10:02:58.704Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.10 && <5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "array",
      "range": ">=0.5.2.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "deepseq",
      "range": ">=1.4.3.0 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "template-haskell-lift",
      "range": ">=0.1 && <0.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "compiler": "ghc",
          "range": ">=9.14"
        }
      ]
    },
    {
      "package": "template-haskell",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "not": {
            "compiler": "ghc",
            "range": ">=9.14"
          }
        },
        {
          "compiler": "ghc",
          "range": "-any"
        }
      ]
    }
  ],
  "exposedModules": [
    "Data.Containers.ListUtils",
    "Data.IntMap",
    "Data.IntMap.Lazy",
    "Data.IntMap.Strict",
    "Data.IntMap.Strict.Internal",
    "Data.IntMap.Internal",
    "Data.IntMap.Internal.Debug",
    "Data.IntMap.Merge.Lazy",
    "Data.IntMap.Merge.Strict",
    "Data.IntSet.Internal",
    "Data.IntSet.Internal.IntTreeCommons",
    "Data.IntSet",
    "Data.Map",
    "Data.Map.Lazy",
    "Data.Map.Merge.Lazy",
    "Data.Map.Strict.Internal",
    "Data.Map.Strict",
    "Data.Map.Merge.Strict",
    "Data.Map.Merge.Set.Internal",
    "Data.Map.Merge.Set.Lazy",
    "Data.Map.Merge.Set.Strict",
    "Data.Map.Internal",
    "Data.Map.Internal.Debug",
    "Data.Set.Internal",
    "Data.Set.Merge",
    "Data.Set",
    "Data.Graph",
    "Data.Sequence",
    "Data.Sequence.Internal",
    "Data.Sequence.Internal.Sorting",
    "Data.Tree"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-04T10:02:59.414Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "ad37e30a8977bfa39b30b3b77aeb7a40ccd260f9248e4df30926a26650ff1ed8",
      "error": null,
      "checkedAt": "2026-10-04T10:02:59.634Z"
    }
  },
  "versions": [
    {
      "version": "0.8.1",
      "imported_at": "2026-10-04T10:02:58.704Z"
    }
  ]
}

Import a package

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