From 92265c3d4bbe7f91fe680a8388e7110aa8bf7171 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 6 Feb 2022 14:33:56 +0000 Subject: [PATCH] remove use of `do` --- just/just.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/just/just.fnl b/just/just.fnl index 2c7e80e..a705606 100644 --- a/just/just.fnl +++ b/just/just.fnl @@ -12,8 +12,8 @@ (fn event-bus [] (let [subscriptions {} vivify (fn [n v] - (or (. n v) - (do (tset n v {}) (. n v))))] + (or (. n v) (tset n v {})) + (. n v))] { :subscriptions subscriptions :subscribe (fn [self event-name handler]