Ещё, например, такая задача к нам пришёл json, пусть известной формы, в нём есть userId: int, и есть всякие данные int. И нам нужно посчитать количество int-ов
7. I/O and other activities with side-effects should be avoided in transactions, since transactions will be retried. The io! macro can be used to prevent the use of an impure function in a transaction. https://clojure.org/reference/refs