-
Notifications
You must be signed in to change notification settings - Fork 32
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
Usage of VarName
as keys
#712
Comments
Part of this is simply because how you can use If you give me a dict with keys like @varname(x[:][1] => 0), @varname(x[:][2]) and ask me for the value of This is the flavour of issue we're encountering in #710 (comment). Even if we did know the shape, e.g. we instead had @varname(x[1][1] => 0), @varname(x[1][2]) and you ask for So, a lot of this confusion, IMO, is caused by the fact that |
And even that assumes that |
(For example, that's why I've been toying with the idea of having varnames that carry information about the shape of the parent symbol, but I'm finding it really hard to tell whether that will solve anything without actually attempting to code it up. |
This might work nicely for standard |
I thought of this problem a bit myself some time ago. I think we could make this work by
|
Originally posted by @mhauru in #710 (comment)
Opened an issue here @mhauru to avoid cluttering the PR. I'll reply in comments.
The text was updated successfully, but these errors were encountered: