Skip to content

Conversation

NNBnh
Copy link

@NNBnh NNBnh commented Sep 17, 2025

In the issue #867, I have some suggested arguments naming:

The reason I choose fn clamp(x, from start_bound, to stop_bound) is that it's more consistent with the list.range(from start, to stop) arguments naming.

@NNBnh NNBnh changed the title Fixed int.clamp and float.clamp arguments naming. Fixed int.clamp and float.clamp in some case could be seen as misleading. Sep 17, 2025
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.

4 participants