]> git.xn--bdkaa.com Git - xn--bdkaa.com.git/commitdiff
Fix line number in the link
authorEvgenii Akentev <i@ak3n.com>
Wed, 2 Nov 2022 19:31:46 +0000 (23:31 +0400)
committerEvgenii Akentev <i@ak3n.com>
Wed, 2 Nov 2022 19:31:46 +0000 (23:31 +0400)
content/posts/implementations-of-the-handle-pattern.md

index f97ae7fdb057730a3775784a47fcb99e569a94e6..6a8e02f860732f0a366c79e7678d759cc794cf33 100644 (file)
@@ -447,7 +447,7 @@ library impl-reporter
   build-depends:    base, domain-provider
 ```
 
-Instead of `domain` we have `domain-provider` and `domain-reporter`. It allows to depend on them individually and instantiate with different implementations. In [the example](https://git.ak3n.com/?p=handle-examples.git;a=blob;f=backpack-handles/backpack-handles.cabal;h=6cfe4f87359e2bf02fff72cfea75d2669818b7e1;hb=HEAD#l52), I have instantiated the provider with implementation from `test-impl` using the reporter from `impl-reporter`. This is useful if you want to gradually write tests for different parts of the logic.
+Instead of `domain` we have `domain-provider` and `domain-reporter`. It allows to depend on them individually and instantiate with different implementations. In [the example](https://git.ak3n.com/?p=handle-examples.git;a=blob;f=backpack-handles/backpack-handles.cabal;h=6cfe4f87359e2bf02fff72cfea75d2669818b7e1;hb=HEAD#l36), I have instantiated the provider with implementation from `test-impl` using the reporter from `impl-reporter`. This is useful if you want to gradually write tests for different parts of the logic.
 
 ### Handle with Vinyl [[vinyl-handle](https://git.ak3n.com/?p=handle-examples.git;a=tree;f=vinyl-handle)]