@@ -1,4 +1,4 @@
3[](https://haskell.org) [](https://hackage.haskell.org/package/patch) [](https://matrix.hackage.haskell.org/#/package/patch) [](https://travis-ci.org/reflex-frp/patch) [](https://github.com/reflex-frp/patch/LICENSE)
3[](https://haskell.org) [](https://hackage.haskell.org/package/patch) [](https://matrix.hackage.haskell.org/#/package/patch) [](https://travis-ci.org/reflex-frp/patch) [](https://github.com/reflex-frp/patch/LICENSE)
@@ -14,7 +14,7 @@ class Patch p where
14 apply :: p -> PatchTarget p -> Maybe (PatchTarget p)
14 apply :: p -> PatchTarget p -> Maybe (PatchTarget p)
17−### Patching Maps
17+## Patching Maps
18For example, `Data.Patch.Map` defines the `PatchMap` type which can be used to patch `Map`s. A `PatchMap` represents updates to a `Map` that can insert, remove, or replace items in the `Map`. In this example, the `Map` is the `PatchTarget` and the `PatchMap` is the `Patch`. Keep in mind that there are many other possible `Patch`es that can be applied to a `Map` (i.e., `Map` can be the `PatchTarget` for many different `Patch` instances).
18For example, `Data.Patch.Map` defines the `PatchMap` type which can be used to patch `Map`s. A `PatchMap` represents updates to a `Map` that can insert, remove, or replace items in the `Map`. In this example, the `Map` is the `PatchTarget` and the `PatchMap` is the `Patch`. Keep in mind that there are many other possible `Patch`es that can be applied to a `Map` (i.e., `Map` can be the `PatchTarget` for many different `Patch` instances).
20`PatchMap` is defined as:
20`PatchMap` is defined as: