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

Named tensors #1769

Open
novusnota opened this issue Feb 10, 2025 · 0 comments
Open

Named tensors #1769

novusnota opened this issue Feb 10, 2025 · 0 comments
Labels
kind: discussion Ideas that are not fully formed and require discussion kind: language feature Intent to add a language feature

Comments

@novusnota
Copy link
Member

novusnota commented Feb 10, 2025

For example, instead of send(params: SendParameters), i.e. requiring users to write this:

send(SendParameters{
    bounce: true,
    to: sender(),
    value: 0,
});

we could support inlining of the fields of SendParameters as pseudo-parameters of the send() function, allowing the following usage:

send(bounce: true, to: sender(), value: 0);
//           ^^^^ default

This might or might not be generalized to apply everywhere Structs or Messages are used as parameters. This is up for discussion.

@novusnota novusnota added kind: discussion Ideas that are not fully formed and require discussion kind: language feature Intent to add a language feature labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: discussion Ideas that are not fully formed and require discussion kind: language feature Intent to add a language feature
Projects
None yet
Development

No branches or pull requests

1 participant