mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20:27 +00:00
Merge pull request #860 from sogaiu/short-fn-docstring-tweak
Tweak short-fn docstring
This commit is contained in:
commit
2833a983d8
@ -2055,7 +2055,7 @@
|
|||||||
```
|
```
|
||||||
Shorthand for fn. Arguments are given as $n, where n is the 0-indexed
|
Shorthand for fn. Arguments are given as $n, where n is the 0-indexed
|
||||||
argument of the function. $ is also an alias for the first (index 0) argument.
|
argument of the function. $ is also an alias for the first (index 0) argument.
|
||||||
The $& symbol will make the anonymous function variadic if it apears in the
|
The $& symbol will make the anonymous function variadic if it appears in the
|
||||||
body of the function - it can be combined with positional arguments.
|
body of the function - it can be combined with positional arguments.
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
Loading…
Reference in New Issue
Block a user