From 39cd76e3615428d20b6c0d1c80b7d22707d59d13 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 23 Dec 2020 17:01:47 +0100 Subject: [PATCH] journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org --- journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org b/journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org index d217092e..4b22da7d 100644 --- a/journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org +++ b/journal/2020-12-23--16-50-17Z--effects_system_in_clojure.org @@ -45,3 +45,8 @@ Within an effect system, you would be able to write something like this: test-db-eff] (my-action)) #+end_src + +You can imagine that =logs-eff= and =db-eff= to be /Effects/ the first +could be used to write logs and the second one will be able to access a DB. +And in the second bloc =test-logs-eff= would be a completely pure +implementation of the =logs= and a fake =db= implementation.