From 7096adce11b93787170c09b79a6170d97b4a977c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Jul 2024 00:03:58 +0200 Subject: Replace fn with λ and how cmds are imported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fnl/plugins/dial.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/dial.fnl') diff --git a/fnl/plugins/dial.fnl b/fnl/plugins/dial.fnl index 7a888eb..0438529 100644 --- a/fnl/plugins/dial.fnl +++ b/fnl/plugins/dial.fnl @@ -1,19 +1,19 @@ ;; Better incrementation/decrementation. (local keys [{1 : - 2 (fn [] + 2 (λ [] (let [dial (require :dial.map)] (dial.inc_normal))) :expr true :desc :Increment} {1 : - 2 (fn [] + 2 (λ [] (let [dial (require :dial.map)] (dial.dec_normal))) :expr true :desc :Decrement}]) -(fn config [] +(λ config [] (let [cfg (require :dial.config) augend (require :dial.augend)] (cfg.augends:register_group {:default [augend.integer.alias.decimal -- cgit v1.2.3-70-g09d2