1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-21 12:43:15 +00:00

Merge pull request #860 from sogaiu/short-fn-docstring-tweak

Tweak short-fn docstring
This commit is contained in:
Calvin Rose 2021-11-04 19:39:55 -05:00 committed by GitHub
commit 2833a983d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2055,7 +2055,7 @@
```
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.
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.
Example usage: