1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-06 04:48:03 +00:00

Merge pull request #902 from sogaiu/tweak-match-doc

Tweak match docstring
This commit is contained in:
Calvin Rose
2021-12-25 07:41:58 -06:00
committed by GitHub

View File

@@ -1676,8 +1676,8 @@
* symbol -- a pattern that is a symbol will match anything, binding `x`'s * symbol -- a pattern that is a symbol will match anything, binding `x`'s
value to that symbol. value to that symbol.
* array -- an array will match only if all of its elements match the * array or bracket tuple -- an array or bracket tuple will match only if
corresponding elements in `x`. all of its elements match the corresponding elements in `x`.
* table or struct -- a table or struct will match if all values match with * table or struct -- a table or struct will match if all values match with
the corresponding values in `x`. the corresponding values in `x`.