From: Evgenii Akentev Date: Mon, 21 Feb 2022 18:45:48 +0000 (+0500) Subject: Add tags X-Git-Url: https://git.xn--bdkaa.com/?a=commitdiff_plain;h=0395005205c0ffb42af13eea1a5c204fe17c7e7c;p=xn--bdkaa.com.git Add tags --- diff --git a/config.toml b/config.toml index 77f120f..835a27a 100644 --- a/config.toml +++ b/config.toml @@ -3,8 +3,11 @@ languageCode = "en-us" title = "ak3n.com" theme = "theme" +[taxonomies] + tag = 'tags' + [params] - sitename = "ak3n.com" + sitename = "ak3n.com" [markup] [markup.highlight] diff --git a/content/posts/implementations-of-the-handle-pattern.md b/content/posts/implementations-of-the-handle-pattern.md index a3e6599..26f28a7 100644 --- a/content/posts/implementations-of-the-handle-pattern.md +++ b/content/posts/implementations-of-the-handle-pattern.md @@ -2,6 +2,7 @@ title: Implementations of the Handle pattern date: 2021-01-31 draft: false +tags: [haskell, backpack] --- In ["Monad Transformers and Effects with Backpack"](https://blog.ocharles.org.uk/posts/2020-12-23-monad-transformers-and-effects-with-backpack.html) [@acid2](https://twitter.com/acid2) presented how to apply Backpack to monad transformers. There is a less-popular approach to deal with effects — [Handle](https://jaspervdj.be/posts/2018-03-08-handle-pattern.html) ([Service](https://www.schoolofhaskell.com/user/meiersi/the-service-pattern)) pattern. I recommend reading both posts at first since they answer many questions regarding the design decisions behind the Handle pattern (why `IO`, why not type classes, etc). In this post, I want to show different implementations of the Handle pattern and compare them. All examples described below are available [in this repository](https://sr.ht/~ak3n/handle-examples/). diff --git a/content/posts/thoughts-on-backpack-modules-and-records.md b/content/posts/thoughts-on-backpack-modules-and-records.md index 1a4631a..a7fa3bd 100644 --- a/content/posts/thoughts-on-backpack-modules-and-records.md +++ b/content/posts/thoughts-on-backpack-modules-and-records.md @@ -2,6 +2,7 @@ title: Thoughts on Backpack, modules, and records date: 2021-01-31 draft: false +tags: [haskell, backpack, modules, records] --- In ["Implementations of the Handle pattern"](/implementations-of-the-handle-pattern) I have explored how Backpack might be used for the Handle pattern. It helped me to take a better look at Backpack and reflect a bit on modules and records in Haskell. diff --git a/themes/theme/layouts/_default/list.html b/themes/theme/layouts/_default/list.html index 8b3cafb..b9f855a 100644 --- a/themes/theme/layouts/_default/list.html +++ b/themes/theme/layouts/_default/list.html @@ -1,5 +1,7 @@ {{ partial "header.html" . }} +

Posts tagged "{{ .Title }}":

+