Skip to content
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

Let all functions always remove all input arguments #5

Open
ArneBachmann opened this issue Jun 8, 2019 · 2 comments
Open

Let all functions always remove all input arguments #5

ArneBachmann opened this issue Jun 8, 2019 · 2 comments

Comments

@ArneBachmann
Copy link
Owner

Some container functions keep original on stack, but this is better to handle with a dup than the need to sometimes remove it later.

@ArneBachmann
Copy link
Owner Author

Easier to compose.

@ArneBachmann
Copy link
Owner Author

I guess the standard behavior should be to consume all inputs, and we should have an naming convention for functions that leave some of the input arguments unmodified on the stack.
This could be useful for chaining calls like print etc.

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

No branches or pull requests

1 participant