Skip to content

Conversation

@sogaiu
Copy link
Collaborator

@sogaiu sogaiu commented Jan 25, 2025

This PR suggests tweaking some of the examples for reverse.

The return value for the second example did not match recent behavior for janet so this was updated.

The third example was removed because the current docstring does not specify a behavior for operating on keywords:

Reverses the order of the elements in a given array or tuple and returns a new array. If a string or buffer is provided, returns a buffer instead.

@bakpakin bakpakin merged commit 75e1959 into janet-lang:master Jan 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants