-
Notifications
You must be signed in to change notification settings - Fork 93
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
Maps should be able to store record values (anonymous structs) #79
Comments
Regarding getting a deeper understanding of ply, have you looked at the manual? https://wkz.github.io/ply/ply.1.html Can can easily key a map using multiple variables, i.e. something like:
You can also use an entire struct as the key:
Similarly you can also have a struct as the value of a map:
I have though about adding support for creating custom "records" in the same way that you can compose map keys arbitrarily. Something like:
Is that what you are looking for? Could you give an example of what you mean? Or a problem you want to solve? |
great,this is my wanna. Thanks. |
Are you saying that you need the record feature that I described at the bottom of my reply, or are you happy with what is already available? Guessing that you are talking about records, then yes, when implemented, that would apply to all kinds of providers. |
em. yes, i am interesting with the ability about record. i mistake for it had already implemented. |
I see, no that is not supported yet I'm afraid. Should be pretty easy to add though. I'll update the subject of the issue so that I remember what it is about. |
I am very interesting to this tool,have any material to understand this tool deeply. Whether the map can store a struct for take more data one time? If i want to implenment this demand, what can i do
The text was updated successfully, but these errors were encountered: