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

List datatype #21

Closed
lrascao opened this issue Mar 10, 2021 · 3 comments
Closed

List datatype #21

lrascao opened this issue Mar 10, 2021 · 3 comments

Comments

@lrascao
Copy link
Contributor

lrascao commented Mar 10, 2021

I found a need for a .conf datatype parameter that is a list of something (string, integer, etc)


a = v1, v2, v3

I figured we could expand the list of admissible datatypes with a recursive {list, Datatype}
format. Does this make sense? I already tried out the approach in a small branch with the minimal change.

@lrascao
Copy link
Contributor Author

lrascao commented Mar 10, 2021

Early proposal at #22

@michaelklishin
Copy link
Collaborator

This idea sounds reasonable. Many projects currently use maps with ignored keys to accomplish this.

@lrascao
Copy link
Contributor Author

lrascao commented Mar 17, 2021

closing via #22

@lrascao lrascao closed this as completed Mar 17, 2021
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

2 participants