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 /README.org | |
| parent | e7bae75ddfb676cc4c0ee22a9339a9a79c837c4a (diff) | |
remove limitation of different length with nils in arglist
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -39,8 +39,12 @@ Capable of producing multi-arity functions: ;; [-10 -9 -8 -7 -6 -5 -4 -3 -2 -1] (range 0 1 0.2) ;; [0.0 0.2 0.4 0.6 0.8] +#+end_src + +Both variants support up to one arity with =& more=: + +#+begin_src fennel - ;; both variants support up to one arity with & more: (fn* vec [& xs] xs) (vec 1 2 3) |