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

Better Destructuring Syntax #148

Open
ingydotnet opened this issue Jun 23, 2024 · 1 comment
Open

Better Destructuring Syntax #148

ingydotnet opened this issue Jun 23, 2024 · 1 comment
Labels
compiler Language and compiler issues

Comments

@ingydotnet
Copy link
Member

ingydotnet commented Jun 23, 2024

There are many ways that destructuring syntax and semantics can be improved in YAMLScript.

Here's a start:

+{a b c} =: d
+[a b* c] =: d
@ingydotnet ingydotnet added the compiler Language and compiler issues label Jun 23, 2024
@ingydotnet ingydotnet changed the title Better Destructuring Syntax Better Destructuring Jun 23, 2024
@ingydotnet ingydotnet changed the title Better Destructuring Better Destructuring Syntax Jul 18, 2024
@ingydotnet
Copy link
Member Author

we have this now which goes a long way...

a b c =: foo()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Language and compiler issues
Projects
Status: No status
Development

No branches or pull requests

1 participant