-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Janet-specific golfs #328
Labels
enhancement
New feature or request
Comments
This was referenced Dec 29, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue documents some language-specific golfs that can be added for Janet:
peg/replace-all
overstring/replace-all
where possible #331cond
(=(% x 2)0
to(even? x)
and do the same forodd?
(arr(-(length arr)1))
to(last arr)
{}
instead of table syntax@{}
if a Table is never mutatedThe text was updated successfully, but these errors were encountered: