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

Add support for tuplerecords #497

Open
saecki opened this issue Dec 19, 2021 · 3 comments
Open

Add support for tuplerecords #497

saecki opened this issue Dec 19, 2021 · 3 comments
Labels
feature request New feature or request

Comments

@saecki
Copy link

saecki commented Dec 19, 2021

So there already are arrayrecords like:

record A
    {string}
    a: integer
end

It would be great if there could be tuplerecords like:

record A
    {string, string, integer}
    a: integer
end
@hishamhm hishamhm added the feature request New feature or request label Feb 23, 2022
@hishamhm
Copy link
Member

That does sound like a good idea!...

@lenscas
Copy link
Contributor

lenscas commented May 24, 2022

What about allowing this:

record A
    [1] string
 end

(or, maybe even without the [] part?)

@hishamhm
Copy link
Member

If anyone is willing to try their hand at a PR, I'd rather have the syntax originally suggested by @saecki , I think it'd be more consistent with the existing array records:

record A
    {string, string, integer}
    a: integer
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants