diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-10-24 11:24:04 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-10-24 11:24:04 +0300 |
| commit | 4ae4c1e06962cf3a00d71837279e71e738c45313 (patch) | |
| tree | 61b81eed7524ddaeae72d358d5bd15fd7c270539 /macros/core.fnl | |
| parent | e7bae75ddfb676cc4c0ee22a9339a9a79c837c4a (diff) | |
remove limitation of different length with nils in arglist
Diffstat (limited to 'macros/core.fnl')
| -rw-r--r-- | macros/core.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/core.fnl b/macros/core.fnl index 9b01b70..b47f38b 100644 --- a/macros/core.fnl +++ b/macros/core.fnl @@ -8,7 +8,7 @@ (fn* if-let ([bindings then] - (if-let bindings then 'nil)) + (if-let bindings then nil)) ([bindings then else] (check-bindings bindings) (let [[form test] bindings] @@ -29,7 +29,7 @@ (fn* if-some ([bindings then] - (if-some bindings then 'nil)) + (if-some bindings then nil)) ([bindings then else] (check-bindings bindings) (let [[form test] bindings] |