← All packages

primitive0.9.1.0

Primitive memory-related operations

Open the imported Cabal file ↗

author
Roman Leshchinskiy <rl@cse.unsw.edu.au>
bug-reports
https://github.com/haskell/primitive/issues
build-type
Simple
cabal-version
2.0
category
Data
copyright
(c) Roman Leshchinskiy 2009-2012
extra-source-files
changelog.md test/*.hs test/LICENSE
homepage
https://github.com/haskell/primitive
license
BSD3
license-file
LICENSE
maintainer
libraries@haskell.org
name
primitive
synopsis
Primitive memory-related operations
tested-with
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.6 GHC == 9.8.2 GHC == 9.10.1
version
0.9.1.0
x-revision
1
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "primitive",
  "version": "0.9.1.0",
  "cabalVersion": "2.0",
  "buildType": "Simple",
  "fields": {
    "author": [
      "Roman Leshchinskiy <rl@cse.unsw.edu.au>"
    ],
    "bug-reports": [
      "https://github.com/haskell/primitive/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      "2.0"
    ],
    "category": [
      "Data"
    ],
    "copyright": [
      "(c) Roman Leshchinskiy 2009-2012"
    ],
    "description": [
      "This package provides various primitive memory-related operations."
    ],
    "extra-source-files": [
      "changelog.md\ntest/*.hs\ntest/LICENSE"
    ],
    "homepage": [
      "https://github.com/haskell/primitive"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "libraries@haskell.org"
    ],
    "name": [
      "primitive"
    ],
    "synopsis": [
      "Primitive memory-related operations"
    ],
    "tested-with": [
      "GHC == 8.2.2\nGHC == 8.4.4\nGHC == 8.6.5\nGHC == 8.8.4\nGHC == 8.10.7\nGHC == 9.0.2\nGHC == 9.2.8\nGHC == 9.4.8\nGHC == 9.6.6\nGHC == 9.8.2\nGHC == 9.10.1"
    ],
    "version": [
      "0.9.1.0"
    ],
    "x-revision": [
      "1"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Control.Monad.Primitive",
            "Data.Primitive",
            "Data.Primitive.MachDeps",
            "Data.Primitive.Types",
            "Data.Primitive.Array",
            "Data.Primitive.ByteArray",
            "Data.Primitive.PrimArray",
            "Data.Primitive.SmallArray",
            "Data.Primitive.Ptr",
            "Data.Primitive.MutVar",
            "Data.Primitive.MVar",
            "Data.Primitive.PrimVar"
          ],
          "otherModules": [
            "Data.Primitive.Internal.Operations",
            "Data.Primitive.Internal.Read"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.10 && <4.23",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "deepseq",
              "range": ">=1.1 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers",
              "range": ">=0.5 && <0.7",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "template-haskell",
              "range": ">=2.11",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "compiler": "ghc",
              "range": ">=9.2"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "compiler": "ghc",
              "range": "<9.4"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "data-array-byte",
                    "range": ">=0.1 && <0.1.1",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "not": {
                "os": "solaris"
              }
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "or": [
                {
                  "arch": "i386"
                },
                {
                  "arch": "x86_64"
                }
              ]
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "test-qc",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [
            "PrimLaws"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "base-orphans",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "primitive",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "quickcheck-classes-base",
              "range": ">=0.6 && <0.7",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "QuickCheck",
              "range": ">=2.13 && <2.16",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty",
              "range": ">=1.2 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-quickcheck",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tagged",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers",
              "range": ">=0.5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers-compat",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": []
      }
    },
    {
      "kind": "benchmark",
      "name": "bench",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [
            "Array.Traverse.Closure",
            "Array.Traverse.Unsafe",
            "ByteArray.Compare",
            "PrimArray.Compare",
            "PrimArray.Traverse"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "primitive",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "deepseq",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-bench",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers",
              "range": ">=0.5",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": []
      }
    }
  ],
  "setupDependencies": [],
  "flags": [],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/haskell/primitive"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/primitive-0.9.1.0/primitive.cabal",
  "sha256": "756b222c715bc6ef5ba81fa69cdbaa20c5c53beb6f16f174b8bacc93a6d239f0",
  "importedAt": "2026-10-14T12:47:14.845Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.10 && <4.23",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "deepseq",
      "range": ">=1.1 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "transformers",
      "range": ">=0.5 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "template-haskell",
      "range": ">=2.11",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "data-array-byte",
      "range": ">=0.1 && <0.1.1",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "compiler": "ghc",
          "range": "<9.4"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "base-orphans",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "primitive",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "quickcheck-classes-base",
      "range": ">=0.6 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "QuickCheck",
      "range": ">=2.13 && <2.16",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "tasty",
      "range": ">=1.2 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "tasty-quickcheck",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "tagged",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "transformers",
      "range": ">=0.5",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "transformers-compat",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:test-qc",
      "conditions": []
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    },
    {
      "package": "containers",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    },
    {
      "package": "primitive",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    },
    {
      "package": "deepseq",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    },
    {
      "package": "tasty-bench",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    },
    {
      "package": "transformers",
      "range": ">=0.5",
      "libraries": [
        "main"
      ],
      "component": "benchmark:bench",
      "conditions": []
    }
  ],
  "exposedModules": [
    "Control.Monad.Primitive",
    "Data.Primitive",
    "Data.Primitive.MachDeps",
    "Data.Primitive.Types",
    "Data.Primitive.Array",
    "Data.Primitive.ByteArray",
    "Data.Primitive.PrimArray",
    "Data.Primitive.SmallArray",
    "Data.Primitive.Ptr",
    "Data.Primitive.MutVar",
    "Data.Primitive.MVar",
    "Data.Primitive.PrimVar"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-14T12:47:15.468Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "89492515b313af29b1fbceb482dd0eb6cb51efdb8c8639d36b29c5cc8b6770b1",
      "error": null,
      "checkedAt": "2026-10-14T12:47:15.735Z"
    }
  },
  "documentation": null,
  "versions": [
    {
      "version": "0.9.1.0",
      "imported_at": "2026-10-14T12:47:14.845Z"
    }
  ]
}

Import a package

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