Replies: 2 comments 3 replies
-
This would help with one of the inconsistencies i noted in #93, so I am in favor. I think we should also consider renaming |
Beta Was this translation helpful? Give feedback.
3 replies
-
Implemented in #321. Closing the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, we have the operator
f[e]
reserved for maps (TLA+ functions), andl.nth(i)
reserved for lists.I find that I always want to write
f.get(e)
knowing thatf
is a map (indeed, we can just writef.get(e)
in Quint). Also, I would rather writel[i]
for a list.Shall we just use
l[i]
as a syntax sugar for lists instead of maps? We would still be able to useget
andnth
for maps and lists, respectively.Beta Was this translation helpful? Give feedback.
All reactions