← All packages

patch0.0.7.0

Data structures for describing changes to other data structures.

Open the imported Cabal file ↗

author
Ryan Trinkle
bug-reports
https://github.com/reflex-frp/patch/issues
build-type
Simple
cabal-version
>=1.10
category
FRP
extra-source-files
README.md ChangeLog.md
homepage
https://obsidian.systems
license
BSD3
license-file
LICENSE
maintainer
maintainer@obsidian.systems
name
patch
stability
Experimental
synopsis
Data structures for describing changes to other data structures.
tested-with
GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.2 GHCJS ==8.4
version
0.0.7.0
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "patch",
  "version": "0.0.7.0",
  "cabalVersion": "1.10",
  "buildType": "Simple",
  "fields": {
    "author": [
      "Ryan Trinkle"
    ],
    "bug-reports": [
      "https://github.com/reflex-frp/patch/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      ">=1.10"
    ],
    "category": [
      "FRP"
    ],
    "description": [
      "Data structures for describing changes to other data structures.\n.\nIn this library, a patch is something which can be applied, analogous to a\nfunction, and which distinguishes returning the argument it was provided from\nreturning something else."
    ],
    "extra-source-files": [
      "README.md\nChangeLog.md"
    ],
    "homepage": [
      "https://obsidian.systems"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "maintainer@obsidian.systems"
    ],
    "name": [
      "patch"
    ],
    "stability": [
      "Experimental"
    ],
    "synopsis": [
      "Data structures for describing changes to other data structures."
    ],
    "tested-with": [
      "GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.2\nGHCJS ==8.4"
    ],
    "version": [
      "0.0.7.0"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Data.Functor.Misc",
            "Data.Monoid.DecidablyEmpty",
            "Data.Patch",
            "Data.Patch.Class",
            "Data.Patch.DMap",
            "Data.Patch.DMapWithMove",
            "Data.Patch.IntMap",
            "Data.Patch.Map",
            "Data.Patch.MapWithMove",
            "Data.Patch.MapWithPatchingMove",
            "Data.Patch.PatchOrReplacement",
            "Data.Semigroup.Additive"
          ],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.9 && <4.17",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "constraints-extras",
              "range": ">=0.3 && <0.4",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "commutative-semigroups",
              "range": ">=0.0 && <0.2",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": ">=0.6 && <0.7",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "dependent-map",
              "range": ">=0.3 && <0.5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "dependent-sum",
              "range": ">=0.6 && <0.8",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "lens",
              "range": ">=4.7 && <5.2",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "indexed-traversable",
              "range": ">=0.1 && <0.2",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "semigroupoids",
              "range": ">=4.0 && <6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "transformers",
              "range": ">=0.5.6.0 && <0.7",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "witherable",
              "range": ">=0.3 && <0.5",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "compiler": "ghc",
              "range": "<8.6"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "base-orphans",
                    "range": ">=0.8 && <0.9",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "flag": "split-these"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "these",
                    "range": ">=1 && <1.2",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "semialign",
                    "range": ">=1 && <1.3",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "monoidal-containers",
                    "range": ">=0.6 && <0.7",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "these",
                    "range": ">=0.4 && <0.9",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "monoidal-containers",
                    "range": "==0.4.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            }
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "tests",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "patch",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "hedgehog",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "HUnit",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "compiler": "ghcjs",
              "range": "-any"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "hlint",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "directory",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "filepath",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "filemanip",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "hlint",
              "range": "(<2.1 || >=2.2.2) && <3.5",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "compiler": "ghcjs",
              "range": "-any"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "split-these",
      "default": true,
      "manual": false,
      "description": "Use split these/semialign packages"
    }
  ],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/reflex-frp/patch"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/patch-0.0.7.0/patch.cabal",
  "sha256": "f2883f0df187ad1134edee323a9b686a2be1c6cc680f6a4f63766422ce585f3d",
  "importedAt": "2026-10-24T15:31:43.324Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.9 && <4.17",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "constraints-extras",
      "range": ">=0.3 && <0.4",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "commutative-semigroups",
      "range": ">=0.0 && <0.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "containers",
      "range": ">=0.6 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "dependent-map",
      "range": ">=0.3 && <0.5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "dependent-sum",
      "range": ">=0.6 && <0.8",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "lens",
      "range": ">=4.7 && <5.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "indexed-traversable",
      "range": ">=0.1 && <0.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "semigroupoids",
      "range": ">=4.0 && <6",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "transformers",
      "range": ">=0.5.6.0 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "witherable",
      "range": ">=0.3 && <0.5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "base-orphans",
      "range": ">=0.8 && <0.9",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "compiler": "ghc",
          "range": "<8.6"
        }
      ]
    },
    {
      "package": "these",
      "range": ">=1 && <1.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "split-these"
        }
      ]
    },
    {
      "package": "semialign",
      "range": ">=1 && <1.3",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "split-these"
        }
      ]
    },
    {
      "package": "monoidal-containers",
      "range": ">=0.6 && <0.7",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "split-these"
        }
      ]
    },
    {
      "package": "these",
      "range": ">=0.4 && <0.9",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "not": {
            "flag": "split-these"
          }
        }
      ]
    },
    {
      "package": "monoidal-containers",
      "range": "==0.4.0.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "not": {
            "flag": "split-these"
          }
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:tests",
      "conditions": []
    },
    {
      "package": "patch",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:tests",
      "conditions": []
    },
    {
      "package": "containers",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:tests",
      "conditions": []
    },
    {
      "package": "hedgehog",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:tests",
      "conditions": []
    },
    {
      "package": "HUnit",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:tests",
      "conditions": []
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:hlint",
      "conditions": []
    },
    {
      "package": "directory",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:hlint",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:hlint",
      "conditions": []
    },
    {
      "package": "filemanip",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:hlint",
      "conditions": []
    },
    {
      "package": "hlint",
      "range": "(<2.1 || >=2.2.2) && <3.5",
      "libraries": [
        "main"
      ],
      "component": "test-suite:hlint",
      "conditions": []
    }
  ],
  "exposedModules": [
    "Data.Functor.Misc",
    "Data.Monoid.DecidablyEmpty",
    "Data.Patch",
    "Data.Patch.Class",
    "Data.Patch.DMap",
    "Data.Patch.DMapWithMove",
    "Data.Patch.IntMap",
    "Data.Patch.Map",
    "Data.Patch.MapWithMove",
    "Data.Patch.MapWithPatchingMove",
    "Data.Patch.PatchOrReplacement",
    "Data.Semigroup.Additive"
  ],
  "documents": {
    "readme": {
      "status": "available",
      "sha256": "43184605e96a926a3a9faa9bc3912a875a413cc5ba76d3bd409419be57a478fc",
      "error": null,
      "checkedAt": "2026-10-24T15:31:44.235Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "c92c786a995fd49283c67b33a76ac90494a72767e941ff9e2424cbf212a73bc8",
      "error": null,
      "checkedAt": "2026-10-24T15:31:44.258Z"
    }
  },
  "documentation": null,
  "versions": [
    {
      "version": "0.0.8.4",
      "imported_at": "2026-10-24T15:33:21.975Z"
    },
    {
      "version": "0.0.7.0",
      "imported_at": "2026-10-24T15:31:43.324Z"
    }
  ]
}

Import a package

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