diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:43:50 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:43:50 +0200 |
commit | f048e7a0042c10885ee37301464febc8c8f63e96 (patch) | |
tree | ead501d5675c0e57b90c82a952aa3dcb9d7c487e /fnl/plugins/persistence.fnl | |
parent | 55fbc6552e97e7f41c180adade95c467963c2af2 (diff) |
Replace lambda with λ
Diffstat (limited to 'fnl/plugins/persistence.fnl')
-rw-r--r-- | fnl/plugins/persistence.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/persistence.fnl b/fnl/plugins/persistence.fnl index 6f5867c..e84ec58 100644 --- a/fnl/plugins/persistence.fnl +++ b/fnl/plugins/persistence.fnl @@ -9,17 +9,17 @@ :desc "Ignore current session"}]) (local user-cmds [[:RestoreSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.load))) {:nargs 0}] [:RestoreLastSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.load {:last true}))) {:nargs 0}] [:IgnoreSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.stop))) {:nargs 0}]]) |